Developer

JSON Formatter & Validator

Validate, beautify, or minify JSON with useful error locations.

Processed entirely in your browser. Nothing is uploaded.

Input

Output

Ready when you are.

About

About this tool

JSON is the standard format apps and APIs use to exchange data, but it is hard to read when it is squeezed onto one line, and a single missing comma can break it.

Paste your JSON to check that it is valid, make it easy to read with indentation, or shrink it by removing spaces. If something is wrong, the error message points to the line and column so you can fix it quickly. Everything runs locally.

Quick guide

How to use

  1. Paste your JSON into the input box.
  2. Choose Beautify to format it, or Minify to compress it.
  3. Copy or download the result, or fix the error shown if the JSON is invalid.
Ideas

When to use it

  • Read an API response that arrives on a single line
  • Find the exact spot of a syntax error in a config file
  • Minify JSON before sending it in a request
  • Check that data is valid before saving it
Common questions

Frequently asked questions

Does this support JSON5?

No. Validation follows the standard JSON format.

Can large JSON freeze the page?

Very large documents may take longer, but processing remains local.