Remove whitespace outside strings to make a JSON payload smaller.
How to use JSON Minifier
- Paste your JSON or load the example.
- Select Minify JSON.
- Read the result in the output panel.
What the tool does
Spaces inside values stay intact. A minified result is useful when a destination accepts JSON on a single line.
Try this example
{
"name": "Riya",
"active": true
}Questions about JSON Minifier
Does my input leave this page?
The tool processes the input in your browser.
How much can I paste?
The input accepts up to one million characters.
Why is a large number rejected?
Numeric values outside the safe JavaScript integer range can lose digits. Put large identifiers in double quotes in JSON, or in single quotes in SQL.
What if the tool shows an error?
Check the error beneath the input. Load the example to see the format this tool expects.