JSON Minifier
Remove spaces, tabs and line breaks from JSON to make it as small as possible. Minified JSON is useful for API requests, embedded data and anywhere payload size matters. The values stay exactly the same.
Also known as: minify json, compress json, json compressor, json minify online, remove whitespace from json.
Your data is processed locally in your browser and is not uploaded to our servers.
Features
- Removes all unnecessary whitespace
- Validates while it minifies
- Copy or download the result
- Runs locally in your browser
How to use the JSON Minifier
- Paste formatted JSON into the input box.
- Click Minify.
- Copy the compact result.
Examples
Before minifying
{
"a": 1,
"b": [1, 2]
}Frequently asked questions
Does minifying change my data?
No. Only whitespace outside of strings is removed.
How much smaller will it get?
It depends on how much indentation the original has. Heavily indented files shrink the most.