How to use JSON formatter
- Paste your JSON.
- Pick an indent and whether to sort keys.
- Press Format, Minify or Validate, then copy or download.
Questions
Why is my JSON invalid?
The usual causes are trailing commas, single quotes instead of double quotes, and unquoted keys. The error message points to the line and column.
Is my JSON sent to a server?
No. It's parsed by your browser, so it's safe for API responses and config files with private data.
Last updated 13 November 2026.