Compress JSON to its smallest form
Formatted JSON is easy to read but carries a lot of whitespace you don't need when sending it over a network or storing it. Minifying removes every unnecessary space and line break while keeping the data identical and valid. This tool collapses your JSON to the smallest form that still parses, which is what you want for payloads and compact storage.
How to use it
- Paste formatted JSON.
- Minify it to a single compact line.
- Copy the result into your request or file.
When to minify
- Sending a payload where size and speed matter.
- Embedding JSON in a single-line config or attribute.
- Storing data compactly when it won't be edited by hand.
Questions people ask
Does minifying change the data? No — only whitespace is removed; the values and structure are untouched.
Is my JSON uploaded? No — minifying happens locally in your browser.