JSON Minifier — Compress JSON Online
Remove whitespace from JSON and see exactly how many bytes you save — including estimated gzip size for API payloads. Free, private, instant.
Your data never leaves your browser
JSON input
Minified output
About this tool
MinifySize saved %Gzip estimateValidatePrivacy-first
How to use
- Paste pretty-printed JSON in the input panel.
- Minified output updates automatically when JSON is valid.
- Check the savings banner — original vs minified bytes and percent saved.
- Optionally strip null/empty values for extra compression (lossy).
- Copy or download the minified .json file.
Examples
Pretty → minified
{
"name": "demo",
"active": true
}{"name":"demo","active":true}Size savings
Formatted JSON with indentation
~40–60% smaller typical · gzip estimate shown when supported