What this JSON tool does
- Format – adds indentation and line breaks so nested data is easy to read.
- Minify – removes all whitespace to make the payload as small as possible.
- Sort keys – orders object keys alphabetically at every level, handy for comparing two JSON files.
- Validate – any syntax error is reported with its line and column.
Everything runs in your browser – the text you paste is never sent to a server, so it is safe to use with API keys, tokens or private data.
Frequently asked questions
Why is my JSON invalid?
Common causes are trailing commas, single quotes instead of double quotes, unquoted keys, and comments – none of which are allowed in strict JSON.
Is my data sent anywhere?
No. Parsing and formatting happen in your browser.