The JSON minifier removes every unnecessary character — spaces, tabs and newlines between tokens — to produce the smallest valid JSON possible. It is the fastest way to turn a readable, indented document into a compact one-line payload ready to send over the network or store.
Everything happens client-side in your browser. Your JSON is never uploaded to a server, so minifying an authentication payload, a webhook body or a production config is completely private. There is no signup and no size paywall.
Developers reach for it when they need to shrink request bodies, cut bandwidth, inline JSON into a script or environment variable, or measure the true wire size of a response. The output is byte-for-byte the minimal encoding of the same data.
Minifying strips all insignificant whitespace: the indentation, the newlines and the spaces after colons and commas. Whitespace inside string values is preserved because it is meaningful — only the formatting between tokens is collapsed.
Minification is lossless. Keys keep their order, numbers keep their precision, and strings — including escaped characters and Unicode — are untouched. Re-formatting the minified output gives you back an identical document.
The status bar shows the input and output byte counts so you can see exactly how much smaller the payload became. This is the real number that travels over the wire, not an estimate.
The minifier parses before it compacts, so malformed JSON is reported with a line and column rather than producing a broken one-liner. Fix the flagged spot and it minifies cleanly.
Yes. Minifying only removes whitespace between tokens; the result is fully valid JSON that any parser accepts and that decodes to exactly the same data.
No. Whitespace inside string values is significant and is always preserved. Only the formatting whitespace around the structure is removed.
It depends on how deeply nested and heavily indented the input is — pretty-printed documents often shrink 20-50%. The status bar shows the exact before and after byte counts.
No. Minification runs entirely in your browser. Nothing is sent to a server, so it is safe for secrets and production data.
Yes. Paste the minified output into the JSON formatter to pretty-print it again — the round trip is lossless.