JSON tools
Every tool here runs on one engine: a JSON parser written from scratch so it can report the exact line and column of a problem, keep numbers that JavaScript cannot represent, and recover after an error instead of stopping at the first one. Nothing you paste is uploaded, and the connect-src allowlist makes that a browser guarantee rather than a promise.
Looking for a converter? Those live on the convert page. Chasing a specific parse error? Start at the error explainers.
Format and check
The everyday four. Read a payload, find out why it will not parse, fix it, or shrink it before sending it.
- JSON Beautifier Paste messy JSON, get it readable. Nothing is uploaded.
- JSON Formatter Format JSON with 2 spaces, 4 spaces or tabs, and keep every digit intact.
- JSON Validator Every error with its exact line, column, cause and fix.
- JSON Repair Fix trailing commas, single quotes, comments and Python literals, with a list of every change.
- JSON Minifier Strip every byte of whitespace and see exactly what you saved.
- JSON Viewer A collapsible tree with the JSON path of every node, built for large files.
- JSON Parser Parse a payload and see its types, depth, key count and every path.
- JSON Pretty Print Pretty print here, or copy the one-liner for Python, JavaScript, jq and six more.
Transform
Change the shape of a document rather than its formatting: compare, sort, flatten, query, escape.
- JSON Diff Compare two documents by structure, so reformatting and key order are invisible.
- JSONPath Tester Write a JSONPath expression, see the matches live. RFC 9535 syntax.
- Sort JSON Sort keys alphabetically through every nested object, for diffs that stay clean.
- Flatten JSON Turn nested JSON into single-level key paths, and back again.
- JSON to Table Render an array of objects as a sortable table you can read.
- Filter JSON Pull out only the parts you need with a JSONPath filter expression.
- JSON Escape Turn any text into a string that is safe to embed inside JSON.
- JSON Unescape Get readable JSON back out of an escaped string, however many layers deep.
- JSON Schema Generator Generate a draft 2020-12 schema from a sample, with honest required fields.