JSON beautifier and formatter that stays on your device
Minified API responses are fine for machines and painful for humans. Paste a blob, get 2-space (or 4-space) pretty JSON with clear errors if the payload is broken. Same page covers the “formatter / beautifier / prettify” searches — one tool, not three thin clones.
When to use
Front-end and API folks paste a minified response and need readable structure before they dig into a bug. Also handy before a PR when a config blob got squashed onto one line.
Examples
How it works
Parses with JSON.parse, then JSON.stringify with 2- or 4-space indent. It does not “fix” invalid JSON, rewrite keys, or talk to a server.
Common pitfalls
- Trailing commas and single-quoted keys fail standard JSON.parse.
- Comments (// or /* */) are not JSON — strip them first.
- Huge one-line payloads can freeze the tab; prefer splitting or streaming elsewhere.
How this differs
Formatter makes valid JSON readable. JSON Validator is for pass/fail + error position. JSON Minify is the reverse (strip whitespace). Schema Validator checks shape, not pretty-print.
FAQ
Related tools
Runs in your browser. Nothing is uploaded. Not a security product —hashes and JWT decode are for debugging, not password storage or auth advice.