Format JSON without uploading it
Paste JSON to format it with configurable indentation. Invalid input produces an exact line and column instead of a generic failure.
Formatting that preserves values
Formatting parses and re-serialises the document. Big integers are kept in their original textual form, so a 20-digit identifier is not turned into an approximate floating point number. Duplicate keys are reported rather than hidden.
- 2, 4 or 8 space indentation, or minified output
- Optional recursive key sorting
- Trailing commas and comments accepted through JSONC mode with a visible notice
- Copy or download the result, or open it in the full studio
Clear failures
The custom parser reports the line, column and offset of the first error, plus a readable message. It does not attempt to silently repair invalid JSON unless you choose the repair tool.
Questions
Will formatting change my data?
Whitespace changes, and duplicate keys collapse to the last value if present. Numeric precision and string content are preserved by the lossless parser.
Is there a size limit?
The tool runs in your browser and has no artificial server limit, but very large inputs are bounded by available memory. The studio profiles performance and shows parsing time.
Go further in the studio
This page is intentionally a single-purpose tool. The full studio adds synchronized views, profiling, data-quality rules, schema comparison, three-way merge, transformation pipelines, timelines and local persistence. Open it with the same document and continue where this page stops.