CSS Minifier
Why Minify CSS?
Every unnecessary byte in your stylesheet slows page rendering. Minifying CSS removes comments, collapses whitespace, and strips redundant semicolons — often reducing file size by 30–60 %. The result loads faster, scores better on Lighthouse, and costs less bandwidth.
Features
- Comment removal — strips all
/* … */block comments. - Whitespace collapse — collapses multiple spaces, tabs, and newlines into one.
- Semicolon cleanup — removes trailing semicolons before closing braces.
- Size comparison — see original vs minified byte count and savings percentage.
- Copy to clipboard — grab the minified output with one click.
Common Use Cases
- Preparing stylesheets for production deployment.
- Reducing payload size for inline
<style>blocks in emails. - Optimising critical CSS for above-the-fold rendering.
- Shrinking third-party CSS before embedding in a bundle.