CSS Minifier / Formatter
Minify or format CSS live, with an instant byte-size reduction percentage — /*! license */ comments always survive minification, and declaration order is never changed.
How it works
- Paste your CSS
- Pick Minify (compress for production) or Format (re-indent for readability)
- The result updates live below — no button, with a size-reduction percentage shown in Minify mode
Frequently asked questions
Does it strip license comments?
No — comments starting with /*! are preserved through minification, following the same convention used by tools like YUI Compressor and CSSO. Only ordinary comments are removed.
Does it reorder my declarations?
Never. Some minifiers offer alphabetical sorting, which can change which value wins when a property is duplicated — this tool never reorders anything.
Does this update live?
Yes, no button to click.
Related tools
From the blog
Update history
- 2026-08-30 Added: a cover image — used as the card thumbnail, social share image, and blog title image.
- 2026-08-29 Launched: live CSS minify/format (no button), byte-size reduction percentage, /*! license */ comments preserved through minification, declaration order never changed.