JSON
Format, validate, view, compare, sort, repair and query JSON documents.
JSON Formatter & Beautifier
This JSON formatter beautifies minified or messy JSON online with clean indentation, line numbers, and code folding.
JSON Minifier
This JSON minifier strips whitespace and line breaks to shrink payload size for APIs and config files.
JSON Validator
This JSON validator checks syntax instantly and pinpoints the exact line and column of any error.
JSON Viewer
This JSON viewer renders any document as a collapsible tree so you can explore large payloads without scrolling.
JSON Compare & Diff
This JSON compare tool diffs two documents by structure, ignoring key order and formatting.
JSON Sorter
This JSON sorter alphabetises object keys at every level of nesting so two files diff cleanly.
JSON Stringify & Escape
This JSON stringify tool escapes a document into a string literal you can embed, and unescapes it again.
JSON5 Formatter & Validator
This JSON5 tool validates the relaxed syntax and converts it to strict JSON.
JSONPath Tester
This JSONPath tester runs an expression against your JSON and shows every match live.
JSON Fixer & Repair Tool
This JSON fixer repairs comments, single quotes, trailing commas and unquoted keys.
JSON Cleaner
This JSON cleaner strips nulls, empty strings, empty arrays and empty objects.
Avro Schema Formatter and Validator
Format an Avro schema and check it is actually valid — the errors plain JSON validation cannot catch.
About JSON
Everything for working with JSON itself, rather than converting it into something else. A beautifier and a minifier, a validator that pinpoints the first syntax error, a collapsible tree viewer for exploring a large payload, a structural diff that ignores key order, a key sorter for canonical output, and an escaper for embedding one document inside another. Alongside those sit the tools for when JSON arrives imperfect: a repair tool for the trailing commas, single quotes and unquoted keys that a strict parser rejects, a cleaner for stripping nulls and empty values, a JSONPath tester for pulling values out of a deep structure, a JSON5 parser for the relaxed dialect, and an Avro schema validator that checks a .avsc file is a valid schema rather than merely valid JSON. Every one of them runs in your browser, which matters when the payload you are pasting is real data from a real system.
Everything on this page runs directly in your browser — none of your input is uploaded, and every tool keeps working when you are offline.