JSON Minifier
Minify JSON, strip nulls, measure gzip size and encode as Base64 or URL-safe text.
Output will appear here…
gzip sizes are measured in your browser with CompressionStream; brotli appears only where the browser supports it. Base64url and URL-encoding are for embedding the payload in query strings or headers.
Related tools
How to use JSON Minifier
- 1Paste or upload JSON (or NDJSON and switch the input mode).
- 2Choose the output: plain minified, Base64, Base64url or URL-encoded.
- 3Optionally sort keys, strip null values or strip empty strings, arrays and objects.
- 4Compare the original, minified and gzip sizes in the stats, then copy or download.
About JSON Minifier
Strip whitespace, newlines and indentation from JSON to produce the smallest valid representation, and see what it actually saves after gzip. Optionally drop null and empty values, sort keys, minify NDJSON line by line, and output as Base64, Base64url or URL-encoded text for query strings and headers. Every result is round-trip verified.
JSON Minifier is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.