DEVELOPER TOOLS

JSON formatter●

Paste JSON. Format it, validate it or shrink it. Errors show the exact line.

The result updates as you type. Your JSON never leaves this page.

Result

Your JSON is parsed on your device. Nothing is uploaded, logged or stored.

Clean JSON in one step

Pretty-print minified JSON to read it, minify it to save space, or let the validator point at the exact line where a bracket, comma or quote is wrong.

Base64 converter →

Common questions

Is my JSON uploaded anywhere?

No. It is parsed in your browser and never sent to a server.

Why is my JSON invalid?

The usual causes are a trailing comma, single quotes, an unquoted key or a comment. The error message names the line and column.

Does sorting keys change the data?

Only the order of keys in each object. Values and arrays keep their order. Programs that read JSON do not depend on key order.

Can it handle large files?

Files of a few megabytes work fine. Very large files depend on your device memory.