Skip to the tool
FreeNo sign-upNo watermarkNo file-size games

Format JSON

Paste it or drop the file. If it will not parse you get the position of the problem rather than just "invalid".

Runs
On your device. The file is never uploaded.
Takes
JSON
Gives
readable JSON
json-formatterLocal

How it works

  1. 01Paste your JSON or drop a file
  2. 02Choose indented or minified
  3. 03Copy or download the result

Questions

Is my data sent anywhere?
No. Parsing and formatting happen in this page. Nothing is transmitted and nothing is stored.
Why does it say my JSON is invalid?
Usually a trailing comma, a single quote where a double belongs, or an unquoted key. The message gives the character position.
Does it sort the keys?
No. Key order is preserved as written.