Make JSON smaller
Minifying removes every space, tab and line break that JSON does not need, producing the most compact valid JSON. It is useful for API payloads, embedding data in HTML or JavaScript, and saving storage.
Invalid JSON is reported with the exact error location instead of being silently mangled.
How to use the JSON Minifier
- Paste or open your JSON on the left.
- The minified JSON appears on the right with the size saving.
- Copy it or download it as a .json file.
Frequently asked questions
Does minifying change my data?
No. Only whitespace between tokens is removed. Keys, values and their order stay exactly the same.
Why minify JSON?
Smaller JSON loads faster over the network and takes less storage, which helps API responses, config bundles and local storage.