JSON Minify

Strip whitespace from JSON to make it as small as possible, without touching your numbers or strings.

Runs entirely in your browser. Nothing you type is uploaded, stored or sent to analytics.

Limit reached: only the first 1,000,000 characters are kept. Split the data into smaller parts.

About this tool

  • The JSON is validated first, then every space, tab and line break outside of strings is removed.
  • Numbers and strings are copied exactly as you wrote them, so very large integers and precise decimals are never rounded.
  • The tool shows how many characters were saved.

Limits

To keep your browser responsive, input is limited to 1,000,000 characters, 200 levels of nesting and 300,000 values.