JSON Minify Tool
Minify JSON by stripping all whitespace, live as you type.
Strips all whitespace live as you type. Runs entirely in your browser.
What is JSON Minify Tool?
Paste formatted JSON and get it minified instantly — every space, newline, and indent stripped, using the same JSON.stringify your code already relies on, so the result is guaranteed valid. Minified JSON is smaller to store or transmit — useful when embedding a config blob in a URL parameter, an environment variable, or anywhere every extra byte of formatting whitespace has a real cost. Because it round-trips through JSON.parse/JSON.stringify rather than a naive whitespace strip, the output is guaranteed to be valid JSON, not just visually compact.
FAQ
Yes, use JSON Prettifier to add indentation back.
No — only whitespace is affected. Keys, values, and structure are preserved exactly; the minified output parses back to the identical object.