Developer tools

JSON Formatter & Validator

Pretty-print, minify and validate JSON, with the exact position of any error.

Paste JSON to begin

How to use it

  1. Paste JSON on the left. It is formatted on the right as you type.
  2. Use Minify to strip whitespace, or Copy to grab the result.
  3. Invalid JSON shows the error and where it happened.

Questions

Is my JSON uploaded?
No. Formatting happens entirely in your browser.
Why does it reject trailing commas?
Strict JSON does not allow them. Remove the last comma in an object or array.