JSON formatter & validator. Errors down to the column.
Beautify, minify, validate, sort keys and escape/unescape JSON — with exact error line + column and a foldable tree view. Parsed entirely in your browser: no upload, no account.
A free online tool by Digital HeroesFiles never leave your browser. Nothing is uploaded.
Strict JSON, parsed on your device
Paste JSON or drop a .json file (up to 15 MB): the parser checks it against strict-JSON rules, pretty-prints with your choice of 2-space, 4-space or tab indent, and can sort keys alphabetically. Parse errors show the exact line and column with a caret under the broken character. One click minifies, escapes a document for embedding inside another JSON string, or unescapes a quoted string back to raw text — and a foldable tree view shows per-node key and item counts. Everything runs locally, so it even keeps working offline.
One toolbar, every JSON chore.
Four steps, no manual.
- Paste JSON into the input pane — or drop a .json file (up to 15 MB) on the Load .json button. The status pill live-checks validity as you type.
- Click Beautify, Minify or Validate; choose 2-space, 4-space or tab indent and tick Sort keys to normalize key order.
- If parsing fails, jump to the exact line and column shown in the result pane — a caret points at the broken character. The Tab key indents inside the editor instead of moving focus.
- Switch to Tree view to fold the structure, then Copy the result or Download .json.
Frequently asked questions.
Is the JSON I paste sent anywhere?
What does “Sort keys” do?
What's the difference between Escape and Unescape?
How do you find parse errors?
Why no JSON5 / JSONC support?
What's the maximum size?
Published · Last updated .