All tools

Tool

JSON minifier and beautifier

Paste some JSON, then squash it onto one line or spread it out neatly. Typos get a plain-English error with the exact line and column. Everything happens in your browser.

Nothing you enter here is sent or saved. Privacy policy

Paste some JSON on the left and the tidy version shows up here.

Good to know

Your data comes out exactly as it went in. Plenty of tools quietly rewrite numbers: 12345678901234567890 turns into 12345678901234567000 and 1.0 into 1. This one only touches whitespace (and key order, if you ask). Hit "Try an example" to see a big number survive.

Standard JSON only. No comments, no trailing commas, no single quotes. Those are the usual reasons something "looks like JSON" but won't parse, so the errors call them out by name.

Nothing leaves this page. Your JSON isn't sent, saved or put in the address bar. Handy for the config files you'd rather not paste into a random website.