EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

CSS minifier and beautifier

Minify CSS to make your site lighter, or format minified CSS to read and edit it, with the byte savings.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Format and convert

Paste your CSS.

Available in: PortuguêsEspañolEnglish

Advertisement

CSS minifier and beautifier: what it is for

The tool minifies CSS by removing comments, spaces, line breaks and unnecessary semicolons, and shows how many bytes you saved. License comments (/*!) and strings are kept.

In format mode, it goes the other way: it turns minified CSS into organized code, with one selector per line and indented properties.

How to use

  1. Paste the CSS.
  2. Choose minify or format.
  3. Copy the result.

When to use it

  • Improving your site's speed and PageSpeed score.
  • Reading another site's CSS.
  • Organizing messy stylesheets.

Frequently asked questions

What does minification remove?

Comments, spaces, line breaks and the last semicolon in each block. Comments starting with /*! (licenses) are kept.

Does minification change how the CSS works?

No. It only removes what the browser ignores. Strings and url() are kept as they are.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.