JSON Split

Break large JSON files into smaller, manageable chunks. Split by item count, file size, field value, or key path. Preview results before splitting and download as ZIP.

All processing happens locally in your browser. Your data never leaves your device.

JSON Input

Split Options

Variables: {prefix}, {index}, {total}, {group}

No split results yet

Add valid JSON and click "Split JSON" to break it into smaller files

Split Modes Explained

By Item Count

Splits arrays into chunks with a fixed number of items. Perfect for batch processing or pagination-like scenarios.

By File Size

Splits based on output file size (KB or MB). Ideal for APIs with upload limits or systems with memory constraints.

By Field Value

Groups items by a specific field (e.g., status, country, type). Creates one file per unique value. Great for organizing data.

By Top-Level Keys

Creates one file per top-level key. Useful for splitting config files or multi-section data.

How to Use

  1. 1Paste your JSON or drag & drop a file. The tool auto-detects arrays and groupable fields.
  2. 2Choose a split mode: item count, file size (KB/MB), field value (group by), or top-level keys.
  3. 3Use preset buttons or enter custom values. Select array path and customize filename template.
  4. 4Review the preview panel showing estimated files, sizes, and groups before splitting.
  5. 5Press Ctrl+Enter or click "Split JSON". Download as ZIP or individual files.

Use Cases

  • API Limits: Break 20MB files into 4MB chunks
  • Batch Processing: Split 50K records into 1K chunks
  • Database Import: Create manageable import batches
  • Data Organization: Group by country, status, type

Split by Field Value

  • Auto-detects fields with 2-50 unique values
  • Creates one file per unique value
  • Files named by group (e.g., admin.json, user.json)
  • Perfect for categorizing exports

Filename Templates

  • {prefix}-{index}.json
  • {prefix}-{index}-of-{total}.json
  • {group}.json (for field splits)

Frequently Asked Questions

What is JSON splitting?

JSON splitting is the process of breaking a large JSON file into smaller, more manageable chunks. This is useful when dealing with large datasets that need to be processed in batches, uploaded to APIs with size limits, or imported into databases incrementally.

How can I split a JSON file by number of items?

Use the "By Item Count" mode and specify how many items you want per file. For example, setting 100 items per file will split an array of 1000 items into 10 separate files. Use preset buttons (10, 50, 100, 500, 1000, 5000) for quick selection.

Can I split JSON files by file size in KB or MB?

Yes! Use the "By File Size" mode and toggle between KB and MB units. Set your maximum file size and the tool will intelligently distribute items to keep each file under your limit. Perfect for APIs with upload restrictions (e.g., 4MB or 10MB limits).

How do I group/split JSON by a field value?

Use the "By Field Value" mode to group items by any field (e.g., status, country, type). The tool auto-detects groupable fields with 2-50 unique values. Each unique value becomes its own file. Great for organizing data by category.

What is the preview feature?

Before splitting, the tool shows a preview with estimated number of files, average items per file, and average file size. For "By Field Value" mode, it also shows the group values. This helps you verify settings before processing.

Can I customize the output filenames?

Yes! Choose from filename templates like "split-001.json", "split-001-of-010.json", or use {group} for field-value splits. Variables include {prefix}, {index}, {total}, and {group}.

How do I download all split files at once?

Click "Download ZIP" to download all split files as a compressed archive. You can also use "Download Files" to download the first 10 files individually, or expand each result to download specific files.

Is my data secure when using this tool?

Absolutely. All processing happens entirely in your browser using JavaScript. Your JSON data is never sent to any server, stored, or logged. This tool is completely privacy-first and works offline.

What keyboard shortcuts are available?

Press Ctrl+Enter (or Cmd+Enter on Mac) to quickly split your JSON without clicking the button. The tool also auto-detects array paths and groupable fields as you paste JSON.

Can I split nested arrays inside a JSON object?

Yes! The tool auto-detects all array paths in your JSON (e.g., "users[]", "data.items[]"). Select the path from the dropdown or type it manually. Enable "Preserve parent object structure" to keep the wrapper in each split.

Related Tools

JSON Minifier

Compress and minify JSON data instantly. Reduce file size while maintaining valid JSON structure.

JSON Validator

Validate JSON syntax in real-time. Get clear error messages with line and column numbers.

JSON Schema Validator

Validate JSON against JSON Schema drafts with grouped violations, draft detection, and path-aware diagnostics.

JSON Sorter

Sort JSON keys alphabetically or by custom priority with real-time preview.

JSON Merge

Combine multiple JSON objects with smart conflict resolution. Merge configs, API responses, and data files.

JSON Compare

Compare two JSON files side-by-side with semantic diff. See additions, deletions, and modifications.

JSON Patch Generator

Generate RFC 6902 JSON Patch operations from original and modified JSON with pointer-safe paths.

JSON Grid Viewer

Explore JSON as a sortable grid with nested cell inspection, dataset-path selection, and visible-state CSV or Excel export.

JSON Flattener

Flatten nested JSON into export-ready key-value output or record-path rows with field profiling, path filtering, and table-friendly previews.

JSON Unflatten Tool

Rebuild nested JSON from flat dotted, bracketed, slash, and pointer-style keys with conflict diagnostics and verification.

JSON Key Extractor

Extract nested JSON keys and path structures with notation controls, dedupe modes, and export-ready output.

JSON to CSV

Convert JSON to CSV with deep flattening, array explosion, and clean spreadsheet-ready output.

CSV to JSON

Convert CSV to JSON with auto-detection, type inference, and flexible output structures.

CSV to XML Converter

Convert CSV into structured XML with root and row controls, field-level path mapping, and preview-first local processing.

JSON to XML

Convert JSON to well-formed XML with advanced mapping controls, audit summary, and privacy-first local processing.

XML to JSON

Convert XML to predictable JSON with profile presets, namespace control, and audit transparency.

XML to YAML Converter

Convert XML to readable YAML with roundtrip-aware metadata controls, structure preview, and safety audit reporting.

XML to CSV Converter

Convert XML into spreadsheet-ready CSV with record-path selection, nested flattening controls, and table preview.

XML to Excel Converter

Convert XML into Excel-ready XLSX spreadsheets with repeating-node detection, nested flattening controls, editable headers, and table preview.

XML to Array Converter

Convert XML into PHP arrays, JavaScript objects, or JSON-like arrays with attributes, repeated-node handling, flattening, and local-only processing.

XML to PDF Converter

Convert XML into readable PDF reports with nested hierarchy rendering, attributes, table detection, live preview, and browser-side download.

XML to APK Project Builder

Analyze Android XML and export an APK-ready Android project ZIP with Gradle files, resource checks, layout preview, and build instructions.

PDF to XML Converter

Extract PDF text, tables, OCR output, pages, forms, and warnings into clean XML with server-assisted extraction and browser-side XML generation.

XML Splitter

Split large XML files into smaller valid XML documents by repeated node, record count, or approximate file size with ZIP export.

XSL Transformer Online

Transform XML with XSLT stylesheets using browser-local XSLT 1.0, parameters, HTML preview, and HTML/XML/Text downloads.

XPath Tester Online

Test XPath expressions against XML with namespace support, matched node paths, result counts, copy, and download.

XML to HTML Table Converter

Convert XML into responsive HTML table markup with record-path selection, column controls, and preview-first local processing.

XML to Text Converter

Convert XML into readable plain text with hierarchy-aware extraction, tag filters, attribute controls, and local-only processing.

XML Escape Tool

Escape XML special characters into safe entities for code samples, embedding, and transport with local-only browser processing.

XML Unescape Tool

Decode escaped XML entities back into readable text or XML with validation-aware output and local-only browser processing.

XML to C# Classes Converter

Generate production-ready C# model classes from XML with nested types, serializer profile options, and local-only browser processing.

XML to SQL Converter

Convert XML into SQL schema and INSERT statements with record-path selection, flattened row output, and local-only browser processing.

SQL to XML Converter

Convert SQL INSERT statements or pasted result rows into structured XML with root and row controls and local-only browser processing.

Text to XML Converter

Convert plain text into valid XML with line, paragraph, and key-value modes, pretty-print output, and local-only processing.

Compare XML Online

Compare two XML files with an XML-aware diff engine, tree-first results, semantic matching, and side-by-side raw verification.

XML Viewer

Inspect XML in a tree-first viewer with XPath find, selected-node details, syntax-aware raw XML, and local-only processing.

XML Validator

Validate XML well-formedness with exact line and column errors, fix guidance, lightweight structure preview, and local-only processing.

XML Minifier

Minify XML safely with validation-first processing, optional comment removal, reduction metrics, and local-only output.

XML Formatter And Beautifier

Pretty print, beautify, minify, and validate XML with whitespace-safe defaults, structure preview, and local-only processing.

XML Sorter

Sort repeated XML collections safely by tag, attribute, or child text with scoped path selection and reorder preview.

XML to XSD Converter

Generate XSD 1.0 schemas from one or more XML samples with smart type inference, occurrence detection, and namespace controls.

XSD to XML Converter

Generate sample XML from XSD with root selection, related-file resolution, choice handling, and namespace-aware output.

XML Editor

Edit, validate, format, and navigate XML with an IDE-like workspace featuring tree outline, real-time validation, statistics, and search/replace.

XML Schema Validator

Validate XML documents against XSD schemas with detailed error diagnostics, fix suggestions, schema info panel, and local-only processing.

XML Node Counter

Analyze XML structure with element frequency, attribute usage, tree depth metrics, namespace breakdown, and complexity scoring.

JSON to YAML

Convert JSON to valid YAML with profile presets, large-file safety, and conversion audit reporting.

YAML to JSON

Convert YAML to predictable JSON with duplicate-key safeguards, policy controls, and conversion audit.

CSV to YAML Converter

Convert CSV into clean, valid YAML with delimiter auto-detection, type inference, dot-notation nesting, grouping, and multi-document output.

YAML to CSV Converter

Convert YAML files into clean CSV tables with dot/slash/bracket notation flattening, array strategies, and column mapping.

YAML to SQL Converter

Convert YAML documents into relational SQL schemas, CREATE TABLE definitions, and INSERT scripts across 7 SQL dialects.

HTML to YAML Converter

Convert HTML documents, templates, and web pages into clean YAML structures, DOM trees, semantic outlines, or data extractions.

YAML to HTML Converter

Convert YAML documents into semantic HTML tables, lists, definition lists, cards, forms, and responsive webpage previews.

YAML Merge & Combine

Merge multiple YAML files, Kubernetes manifests, or Helm values with AST deep merging, key-based array matching, and interactive conflict resolution.

YAML Diff & Compare

Compare two YAML files side-by-side with structural AST diffing, line matching, Kubernetes manifest comparison, and Git unified diffs.

YAML Formatter & Beautifier

Pretty print, beautify, format, and minify YAML configurations with 100% comment & anchor preservation and ecosystem style profiles.

YAML Validator

Validate YAML syntax, detect duplicate keys, lint formatting, check Kubernetes, Docker Compose & GitHub Actions schemas, and auto-fix common issues.

YAML Viewer

Inspect YAML in an interactive tree with search, statistics, formatted output, validation, and local-only processing.

YAML to XML Converter

Convert YAML to valid XML with root controls, multi-document handling, and audit-first local processing.

HTML to XML Converter

Convert HTML tables into valid XML records with header mapping, root and row controls, and preview-first local processing.

Mock JSON Generator

Generate realistic mock JSON with a visual builder, seeded faker data, schema mode, reusable templates, and local-only processing.

JSON to Base64 Converter

Encode valid JSON into Base64 or Base64URL with UTF-8-safe processing, serialization controls, and a compact size audit.

JSON to SQL Converter

Generate editable CREATE TABLE schemas and INSERT statements for PostgreSQL, MySQL, and SQLite with nested-data handling.

SQL to JSON Converter

Convert SQL query results, tabular data, and simple INSERT SQL into typed JSON with manual nesting and local-only processing.

Base64 to JSON Converter

Decode Base64 and Base64URL strings into readable JSON or raw text with JWT, data URI, and large-payload support.

JSON Mock API Generator

Turn JSON into hosted mock REST APIs with CRUD route inference, runtime persistence, a built-in tester, and shareable URLs.

JSON to String Converter

Escape valid JSON into string literals and decode escaped JSON wrappers for JavaScript, Python, Java, APIs, and env vars.

JSON to Text

Convert JSON into readable text formats with flattening, paragraph, and template modes.

JSON to Markdown

Convert JSON into documentation-ready Markdown with smart mode detection, template loops, and audit visibility.

Markdown to JSON

Convert Markdown into structured JSON blocks and sections with AST parsing, strictness controls, and audit visibility.

Text to JSON

Convert text, logs, JSON Lines, and delimited tables to structured JSON with audit visibility.

PDF to JSON

Extract structured data from PDFs with OCR, layout analysis, and table reconstruction.

JSON Path Finder

Discover exact and wildcard JSONPath expressions with interactive tree exploration, search, and live extracted values.

JSON Pretty Print & Viewer

Pretty-print, minify, and inspect JSON with strict-valid output, lenient repair modes, tree search, and local-only processing.

JSON to Java Converter

Generate Java POJO classes from JSON with Jackson, Gson, or Lombok annotations, getters/setters, and constructors.

Java to JSON Converter

Convert Java POJO class definitions to sample JSON with annotation-aware key mapping.

JSON to PHP Converter

Convert JSON to PHP associative arrays or stdClass objects with configurable syntax and variable naming.

PHP to JSON Converter

Convert PHP arrays and objects to valid JSON with automatic type detection and syntax stripping.

JSON to Protobuf Converter

Generate Protocol Buffer .proto schema definitions from JSON with auto field numbering and proto2/proto3 syntax.

Protobuf to JSON Converter

Generate sample JSON from Protocol Buffer .proto schema definitions with nested message and enum support.

JSON to C# Converter

Generate C# model classes from JSON with Newtonsoft.Json or System.Text.Json attributes and nullable type support.

C# to JSON Converter

Convert C# class definitions to sample JSON with attribute-aware key mapping and nullable type support.

JSON to TSV Converter

Convert JSON arrays and objects into tab-separated values with nested flattening, array handling, and table preview.

TSV to JSON Converter

Convert tab-separated values into structured JSON with type inference, nested key expansion, and multiple output formats.

Query Parameters to JSON

Parse URL query strings into structured JSON with nested object support, bracket arrays, and type inference.

JSON to Query Parameters

Convert JSON objects into URL query strings with configurable array formats, nested key notation, and URL encoding.

Base64 Decode Tool

Decode Base64 and Base64URL strings into text, JSON, or hex with JWT detection and format auto-detection.

JSON Escape / Unescape

Escape and unescape JSON strings with JSON, JavaScript, and HTML entity modes and auto-detection.

JSON to TypeScript

Generate TypeScript interfaces and types from JSON data. Supports nested objects, arrays, optional nulls, readonly, and JSDoc.

SQL to CSV Converter

Convert SQL INSERT statements and query results into CSV with configurable delimiters, quoting, and NULL handling.

SQL to Text Converter

Convert SQL INSERT statements, query results, and CREATE TABLE schemas into readable plain text with multiple formatting modes.

Text to SQL Converter

Convert CSV, TSV, and delimited plain text into SQL CREATE TABLE and INSERT, UPSERT, MERGE, or COPY statements with schema inference.

SQL Formatter & Beautifier

Format and beautify SQL queries locally with dialect support for PostgreSQL, MySQL, SQL Server, SQLite, BigQuery, Snowflake, and more.

SQL Minifier

Minify and compress SQL queries locally with size reduction metrics, dialect support, and optional comment removal.

SQL Syntax Checker & Validator

Validate SQL syntax locally with dialect-aware parsing, error markers, lint warnings, and downloadable diagnostics.

SQL Linter Online

Lint SQL for style, safety, readability, and best practices with configurable rules, estimated scores, and local-only processing.

SQL Query Explainer

Explain SQL queries in plain English with logical execution order, clause breakdown, complexity scores, and local AST-based analysis.

MySQL to PostgreSQL Converter

Convert MySQL SQL scripts, schemas, dumps, and queries into PostgreSQL-compatible SQL locally with type mapping, warnings, and conversion reports.

SQL Server to MySQL Converter

Convert SQL Server T-SQL scripts, schemas, procedures, and dumps into MySQL-compatible SQL locally with IDENTITY mapping, inline diff, batch ZIP, and reports.

SQL Data Generator Online

Generate synthetic SQL seed data and INSERT scripts with schema builder, faker rules, CREATE TABLE import, and CSV/JSON export.

SQL Splitter Online

Split SQL scripts into statements, objects, or import-ready chunks with semicolon, GO batch, and custom delimiter support plus ZIP export.

SQL Table Relationship Viewer

Visualize SQL schemas as interactive ER diagrams. Parse CREATE TABLE DDL, detect foreign keys, inspect relationships, validate schema issues, and export Mermaid locally.

SQL Compare & Diff Checker

Compare two SQL scripts side by side with text, formatted, and structural diff modes, change summaries, and downloadable reports.

SQL to YAML Converter

Convert SQL INSERT statements and query results into structured YAML with configurable indentation and NULL handling.

SQL to HTML Table Converter

Convert SQL INSERT statements and query results into responsive HTML tables with style presets and live preview.

HTML Table to SQL Converter

Convert HTML tables into SQL CREATE TABLE and INSERT, UPSERT, MERGE, or COPY statements with dialect-specific output and schema inference.

Base32 Encode

Encode text and files into RFC 4648 Base32 with live conversion, file upload, and copy/download output.

Base32 Decode

Decode Base32-encoded strings back to text with validation, error reporting, and UTF-8 output.

Base58 Encode

Encode text and bytes into Bitcoin-compatible Base58 with live preview, file upload, and copy/download.

Base58 Decode

Decode Base58-encoded strings back to text or bytes with character validation and error reporting.

Base64 Encode

Encode text and files into standard Base64 or Base64URL with line wrapping, data URI generation, and large file support.

URL Encode Online

Encode URLs and query parameters with RFC 3986 compliance, space encoding options, and batch mode.

URL Decode Online

Decode percent-encoded URLs and query strings with error detection, UTF-8 support, and batch decoding.

JSON URL Encode

Safely encode JSON for use in URLs and query strings with validation, pretty print, and live conversion.

JSON URL Decode

Decode URL-encoded JSON back to readable JSON with validation, pretty print, and error highlighting.

HTML Encode

Encode HTML special characters into named and numeric entities with mode selection and batch processing.

HTML Decode

Decode HTML entities back to readable characters with named, numeric, and hex entity support.

XML URL Encoding

Encode XML safely for transport inside URLs with XML validation and structure preservation.

XML URL Decoding

Decode URL-encoded XML back to formatted XML with validation, pretty print, and error reporting.

UTF-8 Converter

Convert text into UTF-8 byte representations with hex, decimal, binary, and escaped output formats.

UTF-8 Decode

Decode UTF-8 byte sequences back to readable text with validation, character inspection, and error highlighting.

Hex to UTF-8

Convert hexadecimal values into UTF-8 text with flexible hex parsing, character preview, and Unicode code points.

Image to Base64

Convert PNG, JPG, SVG, WebP, GIF, BMP, AVIF, ICO, TIFF, and HEIC images to Base64 Data URLs with EXIF viewer, code snippets, batch processing, and optimization.

Base64 to Image

Decode Base64 strings or Data URIs back into PNG, JPG, GIF, WebP, SVG, BMP, AVIF, and HEIC images with instant preview and download.

XML to Base64

Validate, format, minify, and encode XML documents into Base64 or Base64URL (RFC 7515) with live XML tree, SVG preview, 6-bit visualizer, and 100% browser privacy.

Binary to Base64

Validate, format, analyze, and convert binary bits (0s & 1s) into Base64 or Base64URL with Shannon entropy, Hex/ASCII conversions, 6-bit visualizer, and 100% browser privacy.