Skip to main content
Convert2JSON Tools

JSON Tools

Everything for working with a JSON document itself: making it readable, proving it is valid, exploring its structure, and comparing two versions.

Format, validate, compare and explore JSON documents without leaving the browser tab.

JSON FormatterPretty-print messy JSON with your choice of indentation and optional key sorting.JSONJSONJSON ValidatorCheck JSON syntax and get the exact line, column and cause of every failure.JSONReportJSON MinifierStrip whitespace from JSON and see exactly how many bytes you saved.JSONJSONJSON ViewerBrowse JSON as a collapsible tree, search keys and values, and copy JSONPath.JSONTreeJSON EditorEdit JSON with line numbers, syntax highlighting and live error markers.JSONJSONJSON CompareDiff two JSON documents structurally and list every added, removed or changed value.JSONDiffJSON Path FinderSearch a JSON document for keys or values and get the JSONPath of every match.JSONJSONPathJSON BeautifierExpand minified JSON into clean, indented, readable output.JSONJSONJSON ParserParse JSON, confirm it is valid, and see it as clean indented output.JSONJSONJSON SorterAlphabetise every object key recursively for stable, comparable JSON.JSONJSONJSON to One LineCollapse a multi-line JSON document onto a single compact line.JSONJSONJSON StringifyWrap a JSON document in an escaped string literal ready to embed in code.JSONStringJSON UnstringifyTurn an escaped JSON string literal back into a real JSON document.StringJSONJSON EscapeEscape any text so it can sit safely inside a JSON string.TextTextJSON UnescapeTurn an escaped JSON string fragment back into plain, readable text.TextTextJSON RepairFix common JSON mistakes — quotes, commas, comments — and get valid output.JSONJSONJSON to JSON SchemaGenerate a JSON Schema that describes the shape of an example document.JSONJSON SchemaJSON Schema ValidatorValidate a JSON document against a JSON Schema and see every error.JSON + SchemaReportJSON TransformerReshape JSON with a safe pipeline of declarative operations — no code.JSONJSON

Which JSON tool do you need?

If the document is unreadable, start with the Formatter or Beautifier — both parse the input and re-print it with the indentation you choose, so anything they produce is guaranteed to be valid. If it will not parse at all, the Validator tells you the line, the column and the likely cause, and the Repair tool rebuilds strict JSON from almost-JSON such as single quotes, unquoted keys, trailing commas or Python literals.

If the document is valid but too large to read top to bottom, the Viewer renders it as a collapsible tree with search and JSON Pointer paths, and the Path Finder gives you the expression for any key or value. To understand what changed between two versions, the Compare tool diffs them structurally rather than line by line, so reordered keys do not show up as false differences.

Working with awkward data

Two problems come up constantly with real payloads. The first is very large integers: order ids, account numbers and Snowflake ids beyond 2^53-1 are silently rounded by any tool built on JavaScript’s native parser. The Formatter, Beautifier and Minifier all offer a Big Number mode that preserves the original digits exactly and warns you when it had to.

The second is JSON that has been embedded inside something else. A payload stored in a database column or a log field arrives double-escaped, wrapped in quotes with every inner quote backslashed. Unstringify decodes that back into a real document, and Stringify goes the other way when you need to embed one.

Everything runs in your browser

None of these tools upload what you paste. Parsing, validation, diffing and repair all happen in JavaScript inside your own tab, which you can verify by opening the network panel while you work — or by disconnecting from the internet after the page has loaded and carrying on.