Developer Tools

CSS minifier

Reduce CSS size by removing unnecessary formatting and applying syntax-aware optimizations.

JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.

How to use it

Paste CSS and press Run. The output is plain text for copying.

Example

A rule with extra spaces becomes a shorter CSS rule.

Frequently asked question

Does minifying CSS check how the page looks?

No. The tool parses and optimizes CSS, but it does not test your page layout or browser compatibility.

Limits and privacy

Input is limited to 2 million characters. Parse errors are reported. Review complex CSS before deployment.

Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.