What is a JSON Minifier?
Whitespace in JSON is pure payload cost: minifying a pretty-printed config often cuts 30-50% before compression, and single-line JSON is what env vars and CLI flags demand.
Validation happens first, so malformed input gets a clear error rather than mangled output. A pretty-print button reverses the trip.
Frequently asked questions
Does minifying change the data?
No, only inter-token whitespace goes; strings, numbers and structure are untouched.
Why minify if gzip exists?
For contexts without compression: env vars, embedded configs, query strings, and anywhere bytes are counted raw.
Will key order change?
No: order is preserved exactly.
Is my JSON uploaded?
No: parsing runs locally.