JSON minify
What this is
Minify is JSON.stringify with no space argument. Use it before stuffing JSON into a CLI flag, an env var, or a single log line. It does not rename keys or compress like gzip — it only drops insignificant whitespace. Pair with ASCII \u if a downstream pipe is not UTF-8 safe.
Open the formatter — paste stays in this tab.
FAQ
- Does minify change numbers?
- JSON.parse may coerce 1.0 to 1. Do not minify-then-parse as a canonical checksum of the original text.