Pretty-print
Format JSON with 2- or 4-space indentation.
Paste JSON to pretty-print, minify, or check it for errors. Nothing is uploaded and no account is needed.
Paste JSON below, choose an indent size, then format, minify, or validate it.
Runs in your browser. Nothing is uploaded.
A focused tool for cleaning up and inspecting JSON.
Format JSON with 2- or 4-space indentation.
Remove insignificant whitespace for a compact payload.
Check syntax and see a clear error when the JSON is invalid.
Send the result to your clipboard or save a .json file.
Useful whenever JSON is technically valid but difficult to read or review.
Paste a response body to find a missing comma, an unclosed bracket, or an unexpected null.
Pretty-print a compressed package.json, config file, or fixture before editing it.
Format a fixture for review, then minify it again before embedding it in a test.
Formatting only changes whitespace. Keys, values, and their order stay the same.
{"name":"Ada","roles":["admin","editor"],"active":true}
{
"name": "Ada",
"roles": [
"admin",
"editor"
],
"active": true
}
No upload step, no account, and no detour through a server.
Add a JSON object, array, or value from your clipboard.
Format, minify, or validate without leaving the page.
Copy the output or download it as a JSON file.
This tool runs entirely in your browser. Nothing you enter is sent to a server, and there is no upload step. Your input stays in this tab unless you explicitly download it.
No uploads. No account. No tracking scripts.
No. Parsing, formatting, and validation happen in your browser. Nothing is sent to a server.
The tool uses the browser’s built-in JSON parser, so it follows standard JSON syntax: double-quoted keys, no trailing commas, and no comments.
Yes. Formatting and minifying preserve the key order from the input.
Yes, within the memory and processing limits of your browser. Very large documents may take longer because formatting runs on the main thread.
No. Standard JSON does not allow comments or trailing commas. The validator reports the line and position of the first syntax error it finds.