Minify JSON without touching the data: whitespace outside strings is removed, numbers keep every digit, and the exact byte saving is shown. Pretty-print and error positions included.
Only whitespace outside strings is removed. Keys, values, key order, escape sequences and every digit of a number stay exactly as typed — unlike tools that parse and re-serialise JSON, this one cannot round a large integer. Syntax is checked against the JSON specification: no comments, no trailing commas, no single quotes.
This JSON minifier removes whitespace outside strings and nothing else: keys, values, key order, escape sequences and every digit of a number stay exactly as you typed them. Paste JSON into the box and the compact single-line version appears immediately, together with the input size, the output size and the bytes you save. Invalid input is reported with the line and column of the first error, so a missing or trailing comma is easy to find. A pretty-print mode re-indents the same data with two spaces for reading. Everything runs in your browser: nothing is uploaded, there is no signup, and the result can be copied or downloaded as a .json file. The tool checks JSON syntax only — it does not validate your data against a schema and it cannot repair broken JSON.
Free online utility tools. No signup. No tracking.
Impressum · Sitemap · Some links contain affiliate advertising
Nutzung auf eigene Gefahr. Diese Tools werden kostenlos und ohne Gewährleistung für Richtigkeit, Vollständigkeit, Verfügbarkeit oder Eignung für einen bestimmten Zweck bereitgestellt; Ergebnisse sind keine professionelle Beratung. Die gesetzliche Haftung — insbesondere für Vorsatz, grobe Fahrlässigkeit sowie für Verletzungen von Leben, Körper oder Gesundheit — bleibt unberührt.
Use at your own risk. These tools are provided free of charge without any warranty of accuracy, completeness, availability or fitness for a particular purpose; results are not professional advice. Statutory liability — in particular for intent, gross negligence and injury to life, body or health — remains unaffected.
Uso bajo su propio riesgo. Estas herramientas se ofrecen de forma gratuita y sin garantía de exactitud, integridad, disponibilidad o idoneidad para un fin determinado; los resultados no constituyen asesoramiento profesional. La responsabilidad legal — en particular por dolo, negligencia grave y daños a la vida, el cuerpo o la salud — no se ve afectada.
Utilisation à vos propres risques. Ces outils sont fournis gratuitement, sans garantie d’exactitude, d’exhaustivité, de disponibilité ou d’adaptation à un usage particulier ; les résultats ne constituent pas un conseil professionnel. La responsabilité légale — notamment en cas de dol, de négligence grave et d’atteinte à la vie, au corps ou à la santé — reste inchangée.