Everything below runs in your browser. There is no upload step, no queue and no account.
Beautify and minify
Beautify re-prints the document with your chosen indentation — two spaces, four spaces or tabs — putting each property and array item on its own line. Minify does the opposite, removing every optional space and newline to produce the smallest valid representation. Both run against the parsed data, not the raw text, so the output is guaranteed to be well-formed.
Live validation with exact positions
The document is validated as you type. Invalid JSON is underlined in the editor, and the status bar names the problem in plain language along with its line and column — plus a button that jumps the cursor straight to it.
Interactive tree view
The tree tab turns the document into a collapsible outline — the same view the dedicated JSON viewer is built around. Expand and collapse individual branches, jump to a level, or expand everything at once. Searching filters the tree to matching keys, matching values, or both, keeping the ancestors of each match so results stay in context. Every row can copy its key, its value or its JSON path.
Statistics
Character and line counts, how many objects, arrays and keys the document contains, how deeply it nests, and the byte size of the input, the formatted output and the minified output — so the saving from minifying is a number rather than a guess.
Sorting, escaping and clean-up
Optional transforms that change the document rather than just its layout: sort every object’s keys alphabetically for stable diffs, escape non-ASCII characters as \uXXXX for systems that expect pure ASCII, and drop properties that are null or empty. Each one is off by default and clearly labelled, because they alter your data.
A real editor
Line numbers, syntax highlighting, code folding, bracket matching, undo and redo, and find-and-replace. Only the visible lines are rendered, so a multi-megabyte document scrolls as smoothly as a short one.
Files, clipboard and print
Upload a .jsonfile or drop one anywhere on the editor. Copy the output, download it formatted or minified, or print it. Files are read with the browser’s own FileReader — they are never transmitted.
Duplicate key detection
Duplicate keys are legal to write but silently lossy: every parser keeps the last one. Rather than let that pass unnoticed, each duplicate is reported with its path and line so you can decide what was meant.