Free, no signup, runs in your browser

Free online CSS minifier

Paste your CSS and press Minify: comments, line breaks and extra spaces are removed, and the result shows the size before and after with the percent saved. Every rule keeps its meaning, so the page looks the same. Your browser does it all, so your code is never sent to a server.

Everything runs in your browser. What you paste isn't sent anywhere.

Indent

Ready to put the page online?

Upload the page's HTML file or paste its code, and Convika gives it a link that opens in any browser. Free, no signup.

How to minify CSS online

  1. Paste your CSS into the box, or open a .css file from your device.
  2. Press Minify.
  3. Press Copy, or Download to save it as style.min.css.

What does minifying CSS do?

It removes what a browser doesn't need: comments, line breaks, and spaces around braces, colons and semicolons. The file gets smaller, so the page loads faster.

Will minified CSS work the same?

Yes. Selectors, properties and values stay as written, and spaces that carry meaning, such as those inside calc() and between selectors, are kept.

How do I get readable CSS back?

Press Format in the same box. The minified CSS is laid out again with one declaration per line.

Guides

See all guides

Licenses