JavaScript / CSS Minifier
Minifiziere JavaScript, CSS, HTML und JSON in deinem Browser und sieh genau, wie viel Platz du sparst.
So funktioniert es
Select the language (JavaScript, CSS, HTML or JSON), paste your code and press Minify. JavaScript is parsed and minified with Terser, including identifier shortening. CSS and HTML use a conservative minifier that only removes comments and unnecessary whitespace — it never rewrites values, so rendering cannot change. The result shows the original size, the minified size and the saving percentage.
Hinweise
Everything runs in your browser. The HTML minifier leaves the contents of pre, textarea, script and style elements untouched. Minified JavaScript is not obfuscation, and no aggressive optimizations such as property renaming are applied.
Häufige Fragen
Can the minified CSS change how a page renders?
No — the CSS minifier only strips comments and collapses whitespace; it never rewrites values.
Are sizes measured in characters?
In UTF-8 bytes, so multibyte characters count as more than one.