Nifty / Tools / JSON

JSON Minifier

Squeeze JSON onto one line by removing whitespace and comments. Strings and numbers are left untouched.

json-minifier
JSONDrop a file here
Minified
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the JSON Minifier

  1. Paste formatted JSON on the left.
  2. Copy the one-line result on the right.
  3. The status line shows the new size and how much you saved.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Does minifying change my data?

No. Only whitespace and comments are removed. Strings, numbers (including 1.0) and key order stay exactly the same.

Related tools