JSON Minifier

  • Byte report
  • Auto-repair
  • Nothing uploaded

Strip every insignificant byte, and see exactly what it saved.

Input
Minified

Paste input on the left to see minified.

Everything runs in your browser — nothing is uploaded.

About minifier

Minifying JSON removes every byte of whitespace between tokens, producing an identical value in fewer bytes. JSONic reports the original size, the minified size, and the percentage saved. Pretty-printed input typically shrinks by 10 to 30 percent, depending on nesting depth and indent width.

Minifying removes every byte of insignificant whitespace from a JSON document. Paste a formatted payload to see the minified output alongside the original size, the minified size and the percentage saved — useful before shipping config, fixtures or API responses over the wire.

Questions

Is minified JSON still valid?

Yes. Whitespace between tokens is insignificant in JSON, so the minified document parses to exactly the same value.

How much smaller does JSON usually get?

Typically 10–30% for pretty-printed input, depending on nesting depth and indent width. Deeply nested documents with 4-space indentation save the most.

Should I minify if my server already gzips?

The extra saving is small, because compression already handles repeated whitespace well. Minify when uncompressed size is what matters — bundled fixtures, embedded config, database rows, or anything counted against a payload limit before compression.