Skip to main content
ConduitTools by ConduitCode Labs

Developer

JSON Formatter

Waiting for JSON
JSON inputPaste, type, or drop a .json file

Paste JSON to format and validate it

ResultFormatted JSON appears here
.json
Nothing to show yet

Your formatted JSON, tree view, and stats appear as soon as you add some.

0 BInput size
—Output size
—Max depth
—Keys
—Objects
—Arrays

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.

  • Free
  • No sign-up
  • Runs in your browser

How to use this tool

  1. 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.

  2. 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.

  3. 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
  1. 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.

  2. 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.

  3. 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 improvement

Help 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.

What it handles

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.

Keyboard shortcuts

Press navigation keys one after the other. Single-key shortcuts work outside text fields.

Ctrl+K
Search all tools
/
Focus directory search, or search all tools on other pages
GthenH
Go to the homepage
GthenT
Browse all tools
GthenF
Open FAQs
Ctrl+Enter
Copy or download the result
Ctrl+Shift+Enter
Generate a new password or new text
?
Show this list
Esc
Close a dialog or menu
↑↓
Move through tool search results
Enter
Open the selected search result