Skip to content
Yunedia Tools

Minificateur JavaScript / CSS

Minifiez JavaScript, CSS, HTML et JSON dans votre navigateur et voyez exactement combien d'espace vous gagnez.

Comment utiliser

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.

Remarques

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.

Questions fréquentes

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.