JSON Minifier
The JSON minifier removes every unnecessary space and line break from a JSON document, producing the smallest valid representation, and reports the byte size before and after so you can see the saving.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the JSON Minifier
- Paste formatted JSON.
- Read the minified output and the size comparison beneath it.
- Copy or download the compact version.
Example
{
"a": 1
}
{"a":1}
Common use cases
- Shrinking a JSON payload embedded in a page or a data attribute.
- Reducing the size of a configuration file shipped with an application.
- Producing a single-line value to paste into an environment variable.
Limitations and things to watch for
- Minifying JSON only removes insignificant whitespace. It cannot shorten keys or values, so the saving on already-compact data is small.
- Over the network, gzip or Brotli compression usually saves far more than minification. Minify for embedding and storage, not as a substitute for compression.