Data & APIsSearch priority 95
JSON formatter
Format and validate JSON online. Beautify, find syntax errors, and minify payloads—locally in your browser.
Overview
Paste raw JSON responses, config fragments, or generated blobs to prettify them with consistent indentation. When you need a compact payload for requests or storage, minify with one click while still catching parse errors early. Ideal for debugging APIs, reviewing schema samples, or cleaning snippets before committing them.
Frequently asked questions
Is my JSON stored or logged?
No storage step is involved. Parsing and formatting happen locally, so sensitive payloads are not transmitted by this utility.
Why does prettify fail with an error?
The input must be valid JSON: double-quoted keys, commas between items, and matching brackets. The error message references the first parse failure the browser reports.
Can I minify JSON that contains Unicode?
Yes. `JSON.stringify` preserves Unicode characters; they will remain escaped or unescaped according to standard JSON encoding rules.
Related tools
Editorial picks—swap these when analytics show new intent clusters.