JSON Formatter

Pretty-print, validate or minify JSON.

Frequently asked questions

What does the JSON formatter do?

It pretty-prints JSON with indentation, minifies it to the smallest valid form, or validates it and reports the exact syntax error.

Why is my JSON invalid?

Common causes are trailing commas, single quotes instead of double quotes, unquoted keys and missing brackets. The validator points to the error.

Is my JSON uploaded anywhere?

It is processed on our server over HTTPS and nothing is stored. For confidential data, use an offline editor.