How to use CSS Minifier
Create a compact CSS file using the browser’s bundled CSS processor. Keep the original source for editing and review the minified stylesheet in the actual site.
- Paste standalone CSS or open a file and minify.
- Compare the generated output on representative pages, including responsive and dark theme variants.
- Select Minify and review the result.
Example input
.notes{padding:12px 16px;background:#faf5ef}.notes h1{font-size:28px}Example use
Minify a small style bundle for a static website that does not have a separate production build step.
Output and compatibility
The processor may rewrite equivalent declarations as well as remove spacing. It does not evaluate server-side styles or guarantee compatibility with a target CSS dialect.
Troubleshooting
If the stylesheet includes Sass or templates, compile them to CSS first. Check unusual custom properties and modern CSS at the target browsers.
Use CSS Formatter when reviewing rules is more important than file size.
Frequently asked questions
Does it require a build server?
The bundled processor runs in your browser.
Can I feed it raw SCSS?
Use ordinary CSS from your compiler or source editor.