JSON formatter

Format, validate and minify JSON with clear error messages pointing to the line. Private: your data never leaves the browser.

🔒 Your files stay on this device. Nothing is uploaded.

Input

Your files stay on this device. Nothing is uploaded.

Paste JSON to pretty-print it with 2 or 4 spaces, minify it, or find the exact position of a syntax error. Safe for API responses with real data because nothing is uploaded.

How it works

  1. Paste JSON.
  2. Format, minify or validate.
  3. Copy or download.

This tool runs entirely in your browser. Your files are never uploaded, so there is no size limit and it works offline once loaded.

Frequently asked questions

Is my JSON sent to a server?

No. Parsing happens in your browser, which is why this tool is safe for data containing personal information or keys.

Related tools