L LocalUse Source

JSON Minifier

Strip the whitespace out of a JSON document and see the byte-for-byte saving. Useful before shipping a config, embedding a payload, or checking whether a response really needs gzip.

JSON
Output

Output appears here as you type.

Runs entirely in your browser. Nothing you paste here is uploaded or stored.

Questions

Is my JSON uploaded anywhere?

No. The conversion runs in your browser as a pure JavaScript function. There is no upload, no account, and no server-side processing, so you can safely paste production API responses.

Does minifying JSON change its meaning?

No. Whitespace between tokens is insignificant in JSON, so the minified document parses to exactly the same value. Key order is preserved unless you turn on sorting.

More format tools