JSON Formatter

Paste JSON to pretty-print it, minify it, or find syntax errors with the exact line and column.

What this JSON tool does

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.