Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (19 sloc) 429 Bytes

Minify JSON

The opposite of Pretty-Print JSON; For all the times you want to rid of whitespace.

    "foo": "bar"




Specify a file:

json-minify /path/to/data.json

Or pipe from stdin:

curl -s | json-minify

wget -qO- | json-minify


npm install -g json-minify
Jump to Line
Something went wrong with that request. Please try again.