JSON formatter & validator.

Paste JSON to validate it, pretty-print it, sort its keys or minify it. Parsing happens in your browser, so private data stays private.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

Paste some JSON to begin.

More developer tools · All 55 free tools

How to use it

  1. Paste JSON into the input box. It is checked as you type.
  2. Choose an indent and press Format, or press Minify for the smallest output.
  3. If the JSON is invalid, the status shows the line and column to look at.
  4. Copy or download the result.

Questions

Is my JSON uploaded?

No. It is parsed with the browser’s built-in JSON engine on this page and never sent anywhere.

What are the most common JSON errors?

Trailing commas, single quotes instead of double quotes, comments, and unquoted property names. JSON allows none of them.

Why sort keys?

Sorted keys make two versions of the same data easy to compare in a diff.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project