JSON Minifier
Remove all whitespace from JSON to make it as small as possible.
How it works
- 1Paste your JSON.
- 2It is validated and minified as you type.
- 3Copy or download the result.
Features
- Removes every unnecessary space and line break.
- Shows bytes saved.
- Reports errors with line and column.
- Private: runs in your browser.
Frequently asked questions
Does minifying change the data?
No. Only whitespace between tokens is removed; values stay identical.
Can I pretty-print it again?
Yes, with the JSON Formatter.
Is my data sent anywhere?
No. Everything runs in your browser; nothing is uploaded.