CSS Minifier & Beautifier

Minify CSS to cut file size or beautify it for reading.

About this tool

Removes comments and redundant whitespace and the last semicolon in each block. A simple text-based minifier: it does not rewrite values or merge rules, so output is always safe to diff. Not suitable for CSS containing string literals with braces.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter