Developer tool / 100% free

JSON Toolbox

Format, validate, minify, and inspect JSON in one place. It is for the moment when an API response is unreadable, a config file will not parse, or a single bad comma blocks your work. It is free, needs no account, and adds no watermark to your result.

Built for: json formatter

Loading text tools…

When you need this

What people use it for.

Pretty-printing a compact API response
Finding the syntax error in a config file
Minifying JSON before putting it into a request body
How it works

What happens to your file.

The tool parses the text as JSON, reports parser errors, and then rewrites valid data with the spacing you choose. Because the output is generated from parsed data, the formatting is consistent rather than just whitespace search-and-replace.

Where it stops: Comments, trailing commas, and unquoted keys are not valid JSON. Use a JavaScript formatter for JavaScript objects that only look like JSON.

What this tool includes

Everything you need, without a paywall.

Free Pro export naming included
Formatter/validator
Minify/beautify
JSON↔XML
JSON↔CSV
JSON↔YAML
Tree viewer
Questions

Common questions.

Can it fix invalid JSON automatically?

It can show where parsing fails, but it will not guess what a broken value should mean.

Pretty or minified output?

Pretty output is for reading and review. Minified output is for smaller payloads.

Will key order change?

The existing order is preserved unless a selected operation explicitly sorts it.

Related free tools

You might also need.