JSON Formatter

Paste JSON to make it readable, check that it is valid, and see where errors are. Minify it again when you need compact output.

Workspace

Input: JSON text, up to 5 MBHow to use
Paste JSON into the Input box, or select Load example.
0 characters

Up to 5 MB. Press Ctrl+Enter (⌘+Enter on Mac) to format.

Output

The formatted or minified result will appear here.

How to use

JSON Formatter runs in your browser. Your data is not uploaded.

  1. Paste your JSON into the Input box, or select Load example.
  2. Select Format (choose the indentation first) or Minify. Validate only checks the JSON.
  3. If there is an error, read the message and select Go to error to jump to it.
  4. Select Copy to copy the result.