JSON Minifier

Remove all unneeded whitespace from JSON and see how much smaller it gets.

Input

Output


Paste or type something on the left.

Runs in your browser. Your data is never uploaded.

When to minify JSON

Smaller payloads mean faster API responses and smaller bundles. Minify for production, keep the formatted version for reading and diffs.

FAQ

Does minifying change my data?

No. Only whitespace outside strings is removed. Keys, values and order stay the same.

Can I undo it?

Yes. Paste the minified JSON into the JSON Formatter to get readable output again.

More tools