Data
JSON Minifier Online
Remove whitespace from JSON.
⌘ / Ctrl K
JSON input0 chars
⌘ / Ctrl + Enter
Uses JavaScript numbers. Integers beyond the safe integer range may lose precision.
Output
Your result will appear here
Add your input, then run the tool.How to use this tool
Turn formatted JSON into a compact single-line representation for fixtures or request bodies. String contents remain part of the data; only parsing and serialization determine the output.
- Paste valid JSON.
- Select Minify JSON.
- Copy the compact result into your workflow.
Example
{ "enabled": true } → {"enabled":true}Is minifying JSON the same as compressing a file?
No. Minification removes formatting whitespace; it does not produce gzip or another compressed file. JavaScript number precision limits still apply.
Is my input uploaded or saved?
No. Processing happens locally in your browser. Tool inputs and results remain in memory and clear when you switch tools or reload. Only theme and favorite IDs are stored. Your clipboard and web host have their own behavior, explained in the privacy policy.