JSON Formatter & Validator

Format, minify and validate JSON with clear error messages.

Paste JSON and choose an action.

About this tool

Paste JSON to make it readable, compress it for production or find out why it fails to parse.

How to use JSON Formatter & Validator

  1. Paste your JSON into the input box.
  2. Click Format, Minify or Validate.
  3. Copy the result or fix the reported error.

Frequently asked questions

Is my JSON sent anywhere?

No. Parsing happens locally in your browser.

Why does my JSON fail validation?

Common causes are trailing commas, single quotes around strings and unquoted keys. JSON requires double quotes.