JSON formatter & validator
Validate JSON and pretty-print or minify it.
Runs on our server
About this tool
Format messy JSON so it’s easy to read, or minify it onto one line. If the JSON is invalid, you get a clear message explaining what is wrong.
How to use it
- 1 Paste your JSON.
- 2 Choose Beautify or Minify.
- 3 Select Process and copy the result.
Questions
Why is my JSON invalid?
Common causes are trailing commas, single quotes instead of double quotes and missing brackets. The error message points to the problem.
Do you store what I enter?
No. Your input is processed to give you the result and isn’t saved.
Is this tool free?
Yes. It’s free to use with no sign-up and no limits for normal use.
More in JSON & data
- CSV ⇄ JSON converter New Turn a CSV table into JSON, or a JSON array back into CSV.
- JSON ⇄ YAML converter New Convert JSON to YAML and YAML to JSON.
- Number base converter New Convert whole numbers between binary, octal, decimal, hex and any base from 2 to 36.
- Base64 to image Decode a Base64 string or data URI back into an image file.
- Date to Unix timestamp Convert a date and time (UTC) to a Unix timestamp.
- File MIME type checker Detect a file's real MIME type from its contents, not its extension.