JSON Minifier
Minify JSON by removing whitespace
Loading tool…
How to use this tool
Compact a JSON payload without parsing its numbers into replacement values. The byte counts show the size of the actual UTF-8 text, not HTTP compression savings.
Paste valid JSON, including any whitespace you want removed.
Choose Minify and compare input and output byte counts.
Copy the compact result; Format and Validate remain available for inspection.
Practical example
{ "id": 9007199254740993, "name": "a b" } becomes {"id":9007199254740993,"name":"a b"}; the space inside the string stays.
Limits and troubleshooting
Minification removes only whitespace outside strings. It does not shorten property names or remove duplicate keys. If output is unchanged, the input may already be compact.
About JSON Minifier
Remove whitespace outside JSON strings while preserving original number literals. Compare UTF-8 byte counts before copying the result. All processing happens directly in your browser — your files never leave your device.