About the JSON Formatter tool
Paste messy or minified JSON to pretty-print it, check that it’s valid, or squash it back down to one line. Your data never leaves the page — safe for API responses with private data.
How to use it
- Paste your JSON.
- Click Format, Minify or Sort keys.
- Copy the result.
Frequently asked questions
Why is my JSON invalid?
Common culprits: trailing commas, single quotes instead of double quotes, and unquoted keys. The error message points to where parsing failed.