JSON formatter
Format and pretty-print JSON with clear indentation, and spot syntax errors with line numbers. Free online JSON formatter.
Runs on our server
Also with the json formatter & validator
About this tool
Paste minified or messy JSON to get it neatly indented and easy to read. If it isn’t valid, you’ll see what’s wrong and where.
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
- JSON ⇄ YAML converter New Convert JSON to YAML and YAML to JSON.
- CSV ⇄ JSON converter New Turn a CSV table into JSON, or a JSON array back into CSV.
- Unix timestamp to date Convert a Unix timestamp to a readable date in several formats.
- Date to Unix timestamp Convert a date and time (UTC) to a Unix timestamp.
- UUID v4 generator Generate random version-4 UUIDs.
- URL parser Break a URL into its parts and query parameters.