CSS Minifier

Minify and compress CSS code

Share this tool

Report a problem

Describe the problem without including private input or files.

How useful was this tool?

How useful was this tool?

Input & options

Quick presets & examples

Your inputs are never uploaded or stored.

Results

Enter your values to see the result.

About CSS Minifier Tool

Our free online CSS minifier compresses your CSS code by removing unnecessary whitespace, comments, and redundant declarations. From a single blog theme to a design system with thousands of rules, minifying CSS is one of the most effective ways to improve page load speed and overall site performance.

This CSS compression tool offers three minification levels -- Safe, Recommended, and Aggressive -- so you can balance between maximum file size reduction and code safety. The recommended preset removes comments, shortens hex colors, and optimizes values while keeping your stylesheet fully functional. The aggressive preset goes further by merging duplicate selectors for the smallest possible output.

Nothing is uploaded or stored, so your CSS code never leaves your device. Paste your CSS, choose the Safe, Recommended or Aggressive level, and get the minified code with its compression statistics.