← Free online tools

Minifier tools

CSS Minifier

Paste CSS to get a minified version instantly, compare sizes, beautify messy stylesheets, and copy the result.

Local processing

Your CSS is processed in the browser and never uploaded.

Size stats

Compare original size, minified size, and saved bytes before copying.

Beautify reset

Turn compressed CSS back into readable blocks for debugging.

Copy output

Copy the minified stylesheet directly into build scripts or static files.

CSS Optimization Notes

Build pipeline

For production apps, use this as a quick check and keep automated minification in your bundler.

Validate visually

After minifying unusual CSS hacks or generated code, test the final stylesheet in the target browser.

FAQ

What does CSS minification remove?

It removes comments (except /*! license */ comments), extra whitespace, and the last semicolon in each block. Strings, url() values, escaped class names such as .sm\:flex, custom property values, and the spaces that matter in calc() and selectors are kept.

Can I format minified CSS again?

Yes. Beautify puts each rule and declaration on its own indented line. It only changes line breaks and indentation, so the CSS keeps the same meaning.

Is my CSS uploaded?

No. Minify, beautify, copy, and clear run locally in your browser.

Related Tools

loresync tools publishes 160 free online tools.