Skip to main content
Direct WebTools

JSON Formatter Online Free

Format, minify and validate JSON online with pretty print, adjustable indentation and clear error messages, right in your browser with no data sent.

Result

Examples

Click an example to fill the form and process it. The result column shows the real tool output for each input.

Input Result
{"name":"Ana","age":30} { "name": "Ana", "age": 30 }
[[1,2],[3,4]] [ [ 1, 2 ], [ 3, 4 ] ]
{"city":"São Paulo","words":["café","ação"]} { "city": "São Paulo", "words": [ "café", "ação" ] }
{"a":1,"b":[true,null]} { "a": 1, "b": [ true, null ] }
{ "parent" : null , "items" : [ null , false ] } {"parent":null,"items":[null,false]}

Frequently asked questions

Is my JSON sent to a server?

No. Formatting, minifying and validating all happen in your browser: the JSON never leaves the page.

What is the difference between format and minify?

Format indents the JSON to make it easy to read; minify removes every unnecessary space, line break and tab to make it as small as possible.

Which indentation options are available?

2 spaces, 4 spaces or tab. Choose the one that matches your project's style guide.