Developer
JSON Formatter
Paste JSON to format and validate it
Your formatted JSON, tree view, and stats appear as soon as you add some.
Paste JSON to validate it instantly, then beautify, minify, sort keys, or explore it as a tree. Errors come with the exact line and column.
How to use this tool
Paste JSON, drop or Import a JSON file, or press Sample. A mistake is explained in plain English with its line and column, and the part of the text it is in.
Choose Beautify or Minify, set the Indent (2 spaces, 4 spaces or Tab), and turn on Sort keys to put keys in order. When common mistakes are found, Fix issues repairs them, and Undo puts the text back.
Switch the result between Text and Tree: the tree lets you fold branches and copy the path to any value. Then Copy result, Download it, or use Use as input to format the result again.
How to use this tool
Paste JSON, drop or Import a JSON file, or press Sample. A mistake is explained in plain English with its line and column, and the part of the text it is in.
Choose Beautify or Minify, set the Indent (2 spaces, 4 spaces or Tab), and turn on Sort keys to put keys in order. When common mistakes are found, Fix issues repairs them, and Undo puts the text back.
Switch the result between Text and Tree: the tree lets you fold branches and copy the path to any value. Then Copy result, Download it, or use Use as input to format the result again.
Was this tool helpful?
Suggest an improvementHelp keep ConduitTools free
Every tool here is free, private and built by a solo developer. If this one saved you time, a small tip keeps the site running and new tools coming.
Errors explained by line and column, and fixed in one click.
Built for the moments when you are staring at a wall of minified API output or a config file that will not parse.
- Errors you can act on
- Plain-English messages with the exact line, column, and a code excerpt, instead of a cryptic “Unexpected token”.
- Fix common mistakes
- Repair trailing commas, single quotes, unquoted keys, comments, and missing commas in one click.
- Explore the structure
- Switch to the tree view to collapse sections, spot nesting, and copy the path to any value.
Frequently asked questions
Does this tool send my JSON to a server?
No. Everything is processed in your browser, so the data you paste is never uploaded, logged, or stored.
Will large numbers lose precision?
No. Numbers are kept exactly as written, so IDs like 12345678901234567890 are not rounded the way JavaScript would round them.
What does “Fix issues” repair?
Trailing commas, missing commas, single or curly quotes, unquoted property names, comments, and Python-style True, False, and None values. It shows what it changed, and you can undo it.
How large a file can I format?
Files up to 10 MB can be imported. Very large results are shown without syntax colors to keep the page responsive.
