JSON tools
Pretty-print or minify JSON, validate payloads, and diff changes—then go deeper with string helpers, compare, interop (XML, YAML, TOML, CSV, NDJSON), sort keys, schema validation, pointer/patch, JSONPath, flatten, properties, table editing, big-number parsing, Base64 previews, and codegen to several languages—all run in your tab; generators infer from one sample (first array element for arrays).
Learn more: JSON & this workspace
This hub lists focused tools for JSON and nearby formats. Each card opens a separate page so you can bookmark or share a specific task.
What JSON is
JSON (JavaScript Object Notation) is a text format for structured data: objects as `{ "key": value }`, arrays as `[ … ]`, and values that are strings, numbers, booleans, or null. It is widely used for APIs, config, and logs because it is easy for both people and programs to read.
JSON is not the same as a JavaScript object literal in every detail (for example keys must be double-quoted strings), but the mental model is similar.
Privacy & how these tools run
The utilities linked from this hub run in your browser: paste or type on your device, and the page transforms data locally unless a tool’s label says otherwise. That keeps routine formatting and conversion off a server.
Browse JSON utilities
Cards follow the same order as the hub index—start from format and compare, then open interop or codegen tools as needed.
JSON formatter
ClientJSON format: pretty-print, minify, escape/unescape string literals, copy, download .json—all in your browser.
JSON syntax rules
ClientRFC 8259 reference with a JSON.parse checker—parse errors plus hints for commas, quotes, and comments.
String & Unicode helpers
ClientMinify, escape quotes for embedding, Unicode ↔ UTF-8, CJK punctuation in values—sample pre-filled.
Compare JSON
ClientTwo panels, structural diff paths, format both—pre-filled example, all client-side.
JSON sort keys
ClientCanonical key order at every object level—pretty or minified output for diffs and hashing—local only.
JSON canonicalization (JCS)
ClientRFC 8785 JCS string for signing—deterministic bytes plus SHA-256 fingerprint, local only.
JSON ↔ XML
ClientConvert both ways, pretty-print or minify XML—sample JSON pre-filled, client-side.
plist XML ↔ JSON
ClientApple property list XML ↔ JSON—Info.plist-style dicts; XML text only, not binary blobs.
YAML ↔ JSON
ClientConvert both ways, format JSON and YAML—sample JSON pre-filled, js-yaml in the browser.
JSON ↔ MessagePack / CBOR
ClientBinary compact formats: encode JSON to MessagePack or CBOR, decode Base64 bytes back—client-side.
JSON ↔ BSON
ClientMongoDB-style BSON: encode a JSON object to bytes or decode Base64 BSON back—client-side.
TOML ↔ JSON
ClientConvert both ways, format JSON and TOML—sample JSON pre-filled, parsed in the browser.
INI ↔ JSON
ClientLegacy config.ini ↔ JSON—nested objects map to sections, arrays repeat keys; npm ini in the browser.
HOCON ↔ JSON
ClientHuman-Optimized Config Object Notation ↔ JSON—JVM-friendly configs in the browser.
CSV ↔ JSON
ClientTable paste to JSON objects or arrays, JSON arrays to CSV—comma, tab, or semicolon; optional header row.
Excel (XLSX) → JSON
ClientPick a workbook—export one sheet as a JSON row array or every sheet as named arrays; local only.
JSON → Excel (XLSX)
ClientPaste JSON—arrays of objects, grids, or a map of sheet names to arrays—download a workbook locally.
NDJSON / JSON Lines
ClientOne JSON value per line: merge into an array, split arrays back to lines, validate and format—local only.
JSON array chunks
ClientSplit a JSON array into fixed-size batches or merge nested arrays into one list—pagination and batch helpers, local only.
JSON flatten / unflatten
ClientDot paths for nested objects and array indices—round-trip flat map.
JSON Schema validate
ClientValidate instances, format schemas, infer draft-07 from sample data—Ajv in the browser.
JSON Schema $ref expand
ClientResolve same-document #/ pointers and inline refs—no network fetch; cycles stop at $ref.
JSON Schema multi-file bundle
ClientPaste primary + named schema files; expand $ref across files locally—no HTTP, no CORS.
JSON Schema → sample JSON
ClientDraft example JSON from pasted schemas—minimal or full object keys, enums, defaults—client-side.
JSON Pointer & Patch
ClientRFC 6901 resolve, RFC 6902 apply, generate diffs between two documents—local only.
JSON5 / JSONC → JSON
ClientComments, trailing commas, JSON5 keys—convert to strict JSON for APIs and tests.
JSON Merge Patch
ClientRFC 7396 merge into a base document—null removes keys; differs from JSON Patch ops.
JSONPath & JMESPath
ClientQuery with JSONPath or JMESPath—results as JSON, no upload.
jq filter
ClientFull jq syntax in the browser—filters, pipes, and functions; lazy-loaded WebAssembly.
JSON Logic
ClientPortable rule trees on JSON—if, var, comparisons, map—evaluate locally against your payload.
JSON ↔ Properties
ClientJava .properties style key=value lines with dot nesting—two-way.
JSON ↔ HTML table
ClientArray of objects as an editable table; export JSON when done.
JSON ↔ Markdown table
ClientPipe tables for READMEs and docs—round-trip array of objects; escape | as |.
JSON big integers
ClientSee standard vs bigint-safe parsing for large integers—side by side.
Base64 in JSON
ClientFind string fields that decode as Base64 and preview UTF-8 text.
JSON statistics
ClientNesting depth, key totals, object/array counts, and string vs number vs null tallies.
JSON → SQL INSERT
ClientArray of objects to a multi-row INSERT—table name you choose, columns from key union.
JSON → SQL CREATE TABLE
ClientInfer CREATE TABLE from sample rows—SQLite or PostgreSQL types, client-side.
JSON → URL query string
ClientEncode flat key/value JSON into a query string for links and APIs.
URL query string → JSON
ClientDecode application/x-www-form-urlencoded text into a JSON object.
JSON → curl command
ClientMinify JSON and build a curl --data line with Content-Type for quick API repro.
JSON → OpenAPI draft
ClientSample JSON to a minimal OpenAPI 3.0 spec snippet—inferred schema, request or response role.
JSON → GraphQL SDL
ClientDraft GraphQL object types from sample JSON—inferred fields, first array element only.
JSON → Protocol Buffers (proto3)
ClientDraft proto3 messages from sample JSON—snake_case fields, repeated arrays, nested messages.
JSON → Apache Avro schema
ClientAvro schema JSON from sample data—record and array roots, nested records, client-side.
JSON deep merge
ClientTwo JSON objects with nested merge—arrays and scalars from the right win.
JSON → .env lines
ClientNested JSON to dot-separated KEY=value lines for config snippets.
.env lines → JSON
ClientBuild nested JSON from dot-separated keys in env-style lines.
JSON path list
ClientList paths from $ to every primitive—pair with Pointer or JSONPath.
Extract JSON from text
ClientFirst {...} or [...] in logs or mixed paste—strict JSON, pretty-print.
JSON redact keys
ClientReplace values for password, token, and other keys you list with [REDACTED].
JSON pick or omit keys
ClientKeep or remove top-level keys on an object or on each object in an array—case-sensitive names.
JSON → Go structs
ClientGo structs with json tags from a sample object or array element.
JSON → Kotlin data classes
ClientData classes from sample JSON—nested types from the first example.
JSON → C# classes
ClientPaste a JSON object to generate C# POCOs with System.Text.Json-friendly property names.
JSON → Java classes
ClientPaste a JSON object to generate simple public-field POJOs and nested types.
JSON → TypeScript interfaces
ClientPaste JSON to generate export interfaces—camelCase keys, nested types, arrays from the sample.
JSON → Zod schemas
ClientEmit z.object trees and z.infer types from sample JSON—runtime validation scaffolding, client-side.
JSON → Valibot schemas
ClientEmit v.object trees and InferOutput types from sample JSON—modular validators, client-side.
JSON → TypeBox schemas
ClientEmit Type.Object and Static types from sample JSON—JSON Schema–friendly validators, client-side.
JSON → Python TypedDict
Clienttyping.TypedDict from sample JSON—snake_case or camelCase keys, nested types from one example.
JSON → Rust structs (serde)
ClientSerde structs with rename attributes from sample JSON—browser-side scaffolding.
JSON → Swift structs (Codable)
ClientSwift structs with Codable from sample JSON—CodingKeys when keys differ.
JSON → PHP classes
ClientPHP 8+ typed properties and list phpdoc from a sample object or array element.
JSON → Ruby classes
ClientRuby classes with attr_accessor—snake_case symbols from JSON keys.
JSON → Clojure records
Clientdefrecord scaffolding with kebab-case fields—keywordize keys when decoding.
JSON → Elixir structs
Clientdefstruct modules with Jason.Encoder from sample JSON—snake_case atoms, client-side.
JSON → Scala case classes
Clientfinal case class scaffolding from sample JSON—Seq/circe-friendly, client-side.
JSON → Dart classes
ClientDart immutable classes with required constructors from sample JSON.
JSON → Nim types
ClientNim object types from sample JSON—exported fields, seq for arrays, client-side.
JSON → Haskell records
ClientRecord types with aeson Generic codecs from sample JSON—adjust jsonOpts for your key style.
Common use cases
- Start from the formatter when you inherit minified JSON or copy-paste from logs and need readable structure.
- Use compare or structural tools when reviewing config or API diffs—not just line-based text diff.
- Jump to schema validation, JSONPath, or codegen once the payload shape is clear; each subtool focuses on one job.
Common mistakes to avoid
Pasting production secrets into any online tab
Processing is local here, but bad habits travel. Prefer redacted samples for public or shared machines.
Expecting codegen to match every house style
Generators infer types from sample JSON. Adjust names, nullability, and annotations in your project after export.
FAQ
Is my JSON sent to Toolcore?
No. These tools execute in your browser; payloads are not uploaded for transformation.
Which tool should I open first?
There is no single entry: pick the card that matches your task (format, validate, convert, query, or generate code). The collapsible notes above the grid explain hub-wide behavior.
Popular searches in this area
Phrases people search for that match this tool. See the full long-tail keyword index.
- json formatter online
- free json beautifier
- json minifier online
- json validator online
- json pretty print
- format json without upload
More tools
Explore other utilities on Toolcore—useful next steps outside this hub.
Encoding tools
ClientHub index: Base64 & URL, Base64url, Base32, Crockford, LEB128, ASCII85, Z85, Base58, base-36, bencode, Morse, quoted-printable, URI, Punycode/IDN, Unicode escapes, data URLs, MIME, hex, HTML entities, JWT, JSON helpers, crypto.
Regex generator & tester
ClientPresets (US/NANP & E.164 phones, email, URL), JS snippet, local test.
TOML ↔ JSON
ClientTOML to JSON and JSON to TOML online—format, validate, convert locally.
Plain text diff
ClientCompare two text drafts side by side—unified view, sample pre-filled, client-side.