Format JSON on this device.

Runs in your browser. JSON never leaves this device.

Indent

Paste JSON, then pretty-print or minify it on this device.

Format JSON without uploading

Pretty-print, minify, and check JSON locally. Invalid input shows a clear parse error with location when the browser provides one — never a silent rewrite. Free, no account.

Common questions

Is my JSON sent to a server?

No. Formatting and validation use the JSON parser in your browser. The payload stays on this device.

What happens if the JSON is invalid?

You see “Invalid JSON” with the parser message. When position information is available, the tool also shows line, column, and a short source snippet. Your text is left as it is until you fix it.

Does it sort object keys?

Only when you turn on Sort keys. By default, pretty-print and minify keep key order as the browser parsed it.

Is the JSON Formatter free?

Yes. It is a free Bento Tools utility with no account required.

Related tools