1. Paste CSS
Add your stylesheet, component styles, or CSS snippet.
Minify CSS online in your browser. Paste CSS rules, remove comments and spacing, then copy compact styles for snippets, prototypes, and quick front-end cleanup.
Add your stylesheet, component styles, or CSS snippet.
Comments, extra spaces, and optional semicolons are cleaned instantly.
Use the minified CSS in a page, prototype, or quick test.
Original
139 B
Minified
112 B
Saved
27 B (19%)
CSS minification helps compact style snippets, examples, prototypes, static pages, and quick tests by removing comments and unnecessary spacing.
It removes comments, whitespace, and optional semicolons where possible while keeping CSS declarations readable to the browser.
No. It is best for snippets and quick cleanup. Production apps should still use a bundler or build pipeline.
Yes. The tool shows original size, minified size, and the estimated percentage saved.