CSS Minifier
Minify CSS to reduce file size.
About this tool
Minifying CSS reduces file size so your styles load faster. Our CSS minifier strips comments and unnecessary spaces and line breaks from your stylesheet and outputs a single, compact block of CSS. Paste your CSS, click minify, and copy the result into your project or build process. The output is valid CSS that behaves the same as the original. Handy for production sites, themes, or any asset pipeline. Everything runs in your browser; we don’t store or see your code. No account required and no usage limits. A simple way to make your CSS smaller and faster.
How to use
Paste your CSS and click Minify. Comments and unnecessary whitespace are removed to reduce file size.
Related blog posts
Pro tips
- •Use keyboard shortcuts where available to speed up your workflow.
- •Large inputs are processed in your browser—nothing is sent to our servers.
- •Bookmark this tool for quick access from your browser bar.