CSS Minifier/Beautifier
Minify and beautify CSS with comment stripping and gzip sizing.
Input: 217 BOutput: 140 B
Minifier strips comments, collapses whitespace, removes trailing semicolons, and trims zero units. Gzip size uses the browser's native CompressionStream. All processing is client-side.
//Share this tool
//Related tools
JSON Formatter
Format, validate, minify, and prettify JSON data instantly.
JWT Decoder
Decode and inspect JWT tokens: header, payload, signature, expiration.
Base64 Encoder/Decoder
Encode text or files to Base64 and decode back. UTF-8 safe.
Regex Tester
Test regular expressions in real-time with match highlighting and groups.
Minify and beautify CSS safely. Strips comments, collapses whitespace, trims zero units, and measures gzip size — all locally in your browser.
[x]Features
- -Comment stripping with string safety
- -Whitespace collapsing and selector cleanup
- -Zero-unit trimming (0px to 0)
- -Beautifier with nested block indentation
- -Gzip size estimate using CompressionStream
- -Download minified output as .css file
>Use Cases
- >Shrinking stylesheets for production builds
- >Reading unreadable minified CSS
- >Cleaning up inline styles in templates
- >Estimating transfer sizes after compression