DevVault
100% on-device
All tools

JSON formatter

Pretty-print or minify JSON, and when it will not parse, find out exactly where and why. Large integers survive reformatting untouched, and a lenient mode accepts the trailing commas and comments that real config files are full of.

Runs entirely in this tab. What you paste is never sent anywhere.
Input

Paste, type, or drop a file (json, txt, ndjson).

Output

Numbers are re-emitted exactly as you wrote them, so an id like 7286354019283746561 comes out with the same digits it went in with — JSON.parse would quietly round it.