JSON Minifier
Strip every byte of whitespace from your JSON to produce the most compact valid output. Useful for shrinking payloads sent over the wire, packing config into URL query strings, or fitting data into character-limited fields. Paste your JSON into the editor, switch the output Style to "Minify", and the right pane shows the compact form ready to copy or download. The original input is never modified — Donfig keeps your formatted version in the left pane while showing the minified version on the right. The minifier produces RFC 8259-compliant JSON that any compliant parser will accept.
JavaScript is required to use the live tool. Please enable JavaScript and reload.
Frequently asked
How much smaller does minified JSON get?
Typically 20-50% depending on indent level and key length. Minified JSON is significantly cheaper to transmit and store.
Does minifying JSON change its meaning?
No. Minification only removes optional whitespace; the key/value pairs and types are identical.
Can I minify multiple files at once?
The web UI handles one document at a time. For bulk operations, save each result via the Save button in the toolbar.