Format & validate

JSON Minifier

Remove whitespace and line breaks from valid JSON and compare the exact size reduction.

Free No sign-up Local session
Stays in this tabCtrl/⌘ + Enter
Formatted JSONJSON5 lines
Minified JSONJSON1 line
Up to 2 MB · processed locally
How it works

Use Minifier in three steps

  1. 01

    Paste valid JSON.

  2. 02

    Choose Minify JSON.

  3. 03

    Copy or download the compact output.

Quick example

From input to useful output

Remove whitespace and line breaks from valid JSON and compare the exact size reduction.

{
  "project": "StructFix",
  "private": true,
  "features": ["validate", "convert", "compare"]
}
Common questions

JSON Minifier FAQ

Does minifying JSON change values?+

No. It removes insignificant whitespace only; the parsed data remains the same.

Will the output always be smaller?+

Usually. Already compact JSON may stay nearly the same size.