CSS Minifier

Compress CSS by removing whitespace and comments

🔒 100 % in-browser🆓 Gratuit pour toujours⚡ Pas de signup
Note : L'interface de l'outil ci-dessous n'est actuellement disponible qu'en anglais. On traduit les UI une par une. Voir cet outil en anglais →

Comment ça marche

  1. 1
    Paste your CSS

    Drop any CSS - a single rule, a whole stylesheet, or a snippet from DevTools.

  2. 2
    Click minify

    Comments, whitespace, and unnecessary semicolons are stripped instantly.

  3. 3
    Copy the minified output

    Copy the result to your clipboard or see the size reduction stats.

À propos de CSS Minifier

Free online CSS minifier. Strip comments, whitespace, and redundant semicolons from CSS to reduce file size - typically 20-40% smaller. Handy for one-off pastes when you don't want to spin up a full build pipeline. Runs entirely in your browser. CSS Minifier sur 712 Tools tourne entièrement dans ton browser via des APIs JavaScript natives - aucun server ne voit jamais tes données. Résultats instantanés, privacy complète, et aucune limite d'upload.

Que ce soit pour une session de debug, un sanity check rapide ou un incident en prod, cet outil est gratuit à utiliser autant que tu veux. Pas de watermarks, pas de signup et pas d'ads dans l'outil.

Questions fréquentes

How much smaller does CSS get?

Typically 20-40%. Comment-heavy or well-formatted stylesheets shrink more; already-compact CSS shrinks less.

Does it break my CSS?

No. Only whitespace and comments are removed - the CSS grammar is preserved exactly.

Does it support CSS variables and modern syntax?

Yes. Custom properties, nested rules, container queries, and other modern features are preserved intact.

Should I use this in production?

For a real build pipeline, use PostCSS + cssnano or Lightning CSS. This tool is best for quick one-off minification.