Minify and validate JSON in your browser, and see how many bytes you save.
Cómo usar JSON Minifier
Paste your JSON.
It is validated and minified automatically.
Copy the minified output and check the byte savings.
Preguntas frecuentes
It removes all unnecessary whitespace and line breaks, producing the smallest valid JSON with the same data, which is faster to transfer.
No. Only formatting is removed. Keys, values and types are preserved, and numbers are normalised by the JSON standard (for example 1.50 becomes 1.5).
You will see the parser's error message so you can fix it. Nothing is minified until the JSON is valid.
A JSON minifier that validates your JSON and strips every unnecessary character, then reports how many bytes and what percentage you saved.
It runs entirely in the browser using the native JSON parser, so the output matches what your code produces. For pretty-printing, use the JSON Formatter.
Herramientas relacionadas
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, right in your browser.
Convert colors between HEX, RGB and HSL with a live preview.
Convert Unix timestamps to human dates and back — UTC, local, ISO 8601 and relative time. Seconds and milliseconds are auto-detected.
Percent-encode and decode URLs and URL components, UTF-8 safe.
Usamos cookies esenciales para que el sitio funcione. Con tu consentimiento también cargamos Google AdSense, que establece cookies publicitarias. Consulta nuestra política de privacidad.