How to use the JSON Formatter
Paste JSON and press Format to pretty-print it, or Minify to strip whitespace. If the JSON is invalid you get the exact line and column and the cursor jumps there. Your data never leaves the browser, so it's safe for API keys and production payloads.
Frequently asked questions
Why is my JSON invalid?
The usual culprits: trailing commas, single quotes instead of double quotes, unquoted keys, or comments, none of which are allowed in strict JSON.
Is there a size limit?
No hard limit; multi-megabyte files format in under a second on most machines.