No server uploads, analytics or advertising scripts.
Paste JSON or load an example to see the result.
Preserve original precision without silently changing your data.
Drop files and get instant results with fewer repeated steps.
JSON Minifier
Fewer bytes. The same data.
Remove JSON structural whitespace and see the byte savings. Spaces and escaped line breaks inside strings are preserved.
Remove structural whitespace without changing strings or numeric precision.
How to use this tool
- Paste JSON or select a file.
- Choose “Minify JSON” to process the input.
- Review the result and any warnings, then copy or download it.
Example
{
"message": "keep spaces",
"value": 1.2300
}{"message":"keep spaces","value":1.2300}Is this gzip compression?
No. It removes structural whitespace and produces JSON text that can still be parsed directly.
Does minification lose data?
Values, keys, field order and numeric precision are preserved. Duplicate keys are retained with a warning.
How do I make it readable again?
Choose “Open result in Format”, or switch to Format and paste the minified JSON.
Refreshing or closing the page clears your JSON. Copy or download results first. Files of 10 MB or more automatically use large file mode for validation, formatting, minification and download. Large file repair, Diff, conversion, sorting and tree view are unavailable. Files larger than 1 GB (1024 MB) are unsupported.