All tools

CSS Minify

Compress CSS stylesheets for production

Uses CSSO for optimal CSS minification with structure optimization

Privacy: Your code is processed locally with CSSO in your browser. Nothing is sent to a server.

About CSS Minifier

Whitespace and comments make CSS readable while you write it, but they're dead weight when it ships. This free minifier compresses your stylesheet to the smallest working size, removing everything browsers don't need, so your pages load faster. It all happens in your browser, so your code never leaves your device.

How to use CSS Minifier

  1. 1

    Paste CSS

    Paste your CSS stylesheet code in the input area.

  2. 2

    Minify styles

    Click minify to remove whitespace, comments, and optimize selectors.

  3. 3

    Copy minified CSS

    Copy the minified CSS to clipboard or download it.