JSON minifier
Shrink JSON onto a single line without changing its data.
Everything runs in your browser. Nothing you type or paste is sent to a server.
How to use the JSON minifier
- 1
Paste the formatted JSON.
- 2
The minified JSON appears instantly.
- 3
Copy or download the result.
About this tool
Minifying is useful for sending JSON in requests, storing it in environment variables or slimming down config files.
We check the JSON is valid before minifying, so you won't get a broken result.
Frequently asked questions
Is any data lost?
No. Only spaces and line breaks outside values are removed.
How do I get the readable version back?
Use the JSON formatter.
Related tools
- Images
Favicon Generator
Create favicon.ico and every icon your site needs from an image or letters.
- Images
Image to Base64
Turn an image into Base64 or a data URI for HTML, CSS or JSON.
- Images
Base64 to Image
Decode Base64 or a data URI and download the image.
- Images
Image Color Picker
Get the HEX, RGB or HSL code of any point in an image.