About the CSS Minifier
Paste CSS and strip comments, whitespace and redundant separators for a smaller production file. Before/after sizes and savings percentage are displayed.
Smaller CSS means faster first paint — minification is the easiest performance win available.
How to use the CSS Minifier
- Paste your CSS.
- Click "Minify".
- Copy the output and note the size savings.
Common uses
Preparing CSS for production
Reducing page weight for Core Web Vitals
Inlining critical CSS compactly
Frequently asked questions
Will minification change how my styles work?
No — only comments and unnecessary whitespace are removed; selectors and declarations are untouched.
How much can I save?
Typically 15–40% depending on commenting and formatting style.
Related tools
JSON Formatter & Validator
Beautify, validate and minify JSON with clear error locations.
Developer ToolsUUID Generator
Generate cryptographically secure UUID v4 identifiers, in bulk.
Developer ToolsRegex Tester
Test regular expressions live with match highlighting and a cheat sheet.
Developer ToolsMarkdown Editor & Preview
Write Markdown with a live side-by-side HTML preview.
Developer Tools