How to use
- Paste or upload JSON on the left.
- The minified version appears on the right with the size saving.
- Click Minify to replace the input, or copy and download the result.
Strip whitespace and see how much you save
Minified JSON is ideal for machines: smaller payloads, faster parsing and less storage. Formatted JSON is ideal for humans. Keep both in your workflow: minify before shipping, and use the JSON Formatter when you need to read or edit a document.
Enabling Sort keys produces a canonical form of the document, which makes it easier to compare two versions and improves compression for repeated keys.
It removes every space, tab and line break that is not inside a string. The data stays exactly the same, but the file becomes smaller and faster to transfer.