JSON Formatter & Validator
Paste messy JSON, get it pretty-printed, minified, or checked for errors.
How to use the JSON Formatter & Validator
Paste your JSON and choose Format to pretty-print it, Minify to compress it, or Validate to find errors. Invalid JSON shows an error message so you can fix it.
FAQ
Is my JSON sent to a server?
No. It is processed in your browser.
Why is my JSON invalid?
Common causes are trailing commas, single quotes instead of double quotes, and unquoted keys.