JSON Minifier
Strip whitespace and produce the smallest valid JSON.
Loading tool…
About the JSON Minifier
Minify JSON by removing unnecessary whitespace and line breaks. The result stays valid JSON, and you can see exactly how many bytes were saved.
Everything happens locally in your browser. There is no account, no file upload and no waiting queue, and the tool stays free to use on desktop and mobile.
How to use it
- Paste the JSON you want to shrink.
- Press Minify JSON.
- Check how many bytes were removed and confirm the JSON is still valid.
- Copy the one-line result or download it as a .json file.