JSON Minifier
Strip every unnecessary space and line break from JSON to make it as small as possible.
Runs entirely in your browser.
Minify JSON Online
About JSON Minifier
Minifying JSON removes the whitespace that only exists to make it readable - indentation, line breaks and the spaces after colons and commas. The data is identical; it is the same object parsed the same way, just smaller on the wire.
The saving is worth having on anything you ship: API responses, config bundled into a page, JSON embedded in HTML. On heavily indented files it commonly cuts 20-30% of the bytes before compression even starts.
Other JSON Tools
- JSON Formatter — beautify, minify and validate on one page
- JSON Validator — find the line and column of the first error
- JSON Stringify — escape JSON into a string literal, or back
- Sort JSON Keys — alphabetise keys at every level
- JSON Compare — diff two JSON documents
- JSON Tree Viewer — browse a document as a tree