CSS Minifier
Minify CSS - paste, upload, or drag & drop.
{}
CSS Minifier
Interactive Tool
or Text
Output
Minify CSS right in your browser, with three ways to get your stylesheet in:
- Paste or type CSS into the left pane - output updates live.
- File button - pick a
.cssfile from disk and it is loaded and minified instantly. - Drag & drop - drop a CSS file anywhere on the input panel.
The minifier strips comments, collapses whitespace, removes spaces around structural characters and drops trailing semicolons - while keeping string literals and url() values untouched. The status bar shows the exact size saving (before → after chars, −%).
Everything runs locally - your CSS never leaves your device.