JSON Formatter

Paste JSON to pretty-print it, minify it, or spot the error. Nothing leaves your browser.

How to use JSON Formatter

  1. Paste JSON.
  2. Format to make it readable, or minify to make it compact.
  3. If it's invalid, see the exact error and try Auto-fix.

Privacy

Runs entirely in your browser. Nothing you enter or open here is uploaded.

Questions

What does Auto-fix repair?

Common mistakes: trailing commas, single quotes, unquoted keys, missing brackets and comments.

Related tools