JSON Formatter
Beautify or minify JSON with syntax-error pinpointing. Free, private, no sign-up — runs in your browser.
JSON Formatter
Paste raw JSON and format it with 2 or 4-space indentation, or minify it to a single line. Errors are reported with the exact position so you can fix them fast.
About this JSON Formatter
Format API responses, config files and payloads for readability, or minify them to save bytes. Parsing uses the browser's native JSON.parse, so what validates here is exactly what JavaScript will accept in production. Your data never leaves the page — safe for tokens and private payloads.
Frequently asked questions
Why does my JSON fail with single quotes?
Are trailing commas allowed?
Is my JSON sent to a server?
More Developer Tools.
Base64 Encoder / Decoder
Encode text or files to Base64 and decode back — Unicode-safe. Free,…
HTML Formatter
Beautify messy HTML with proper nesting, or minify it. Free, private, no…
JSON Validator
Validate JSON and see the exact line and column of any error.…
URL Encoder / Decoder
Percent-encode and decode URLs, query strings and components. Free, private, no sign-up…
