CSS Minifier

Minify CSS instantly. Remove comments, whitespace, and redundant syntax.

🔒 100% client-side
Options
Input CSS
Minified Output
CSS Minification Tips

Why minify CSS? β€” Minified CSS loads faster, reducing Time to First Byte and improving Core Web Vitals. A typical stylesheet shrinks 20–40%.

Production workflow β€” Minify CSS as part of your build step (Vite, Webpack, Parcel) for automatic minification on every deploy. Use this tool for quick one-off minification or for CSS you can't run through a bundler.

Preserve comments with /*! β€” Some tools (not this one) preserve /*! … */ bang-comments for licenses. Strip those manually if you need to before pasting here.

Keyboard shortcut β€” Press Ctrl+Enter (or ⌘ Enter on Mac) while in the input to minify instantly.

About CSS Minifier

CSS Minifier removes whitespace, comments, and redundant syntax from your CSS to reduce file size β€” entirely in your browser. Smaller CSS files mean faster page loads and better Core Web Vitals scores. Paste any CSS (raw, preprocessed output, or copied from DevTools), hit Minify, and download or copy the result instantly. Your code never leaves your device.