JSON Minifier
Paste JSON and get a single-line minified version. Useful for reducing payload size. All processing in browser.
Minify JSON
How it works
We parse the input as JSON and re-serialize it with JSON.stringify() so no extra whitespace is included.
When to use it
Use before sending JSON over the wire or embedding in HTML attributes.
Frequently asked questions
Invalid JSON?
We show the parse error. Fix brackets, commas, and quotes.