Skip to main content
webfish
100% Private. Processed locally in your browser

Online CSS Minifier & Beautifier

Compress production CSS or format minified stylesheets right inside your browser.

Continue Your Workflow

Suggested next steps after CSS Minifier
Step by Step Guide

How to Use CSS Minifier

  1. 01

    Paste CSS or Upload a .CSS File

    Paste your raw stylesheet code or drop a local .css file directly into the browser editor.

  2. 02

    Pick Minify Options & Click Start

    Choose Minify or Beautify, toggle comment removal and shorthand cleanup, then press Start.

  3. 03

    Check Savings, Copy or Download

    Once the Done banner shows exact bytes saved and compression %, copy or download your .min.css file.

Built for Speed & Privacy

Key Features & Privacy Guarantee

  • Removes comments, redundant whitespace, trailing semicolons, and zero unit clutter while preserving calc() syntax.
  • Displays original byte size, minified byte size, gzip estimate, and exact percentage saved.
  • 100% client side processing keeps proprietary design systems and stylesheets completely private.
Common Questions

Frequently Asked Questions

Does CSS Minifier break CSS calc() expressions or media queries?

No. The minifier preserves required spaces around + and minus operators inside calc() and keeps @media and @supports rules valid.

Can I reverse minified CSS back into readable indented code?

Yes. Switch to Beautify mode before clicking Start to expand single line production CSS into cleanly indented rules.

How much smaller do stylesheets get after minification?

Uncompressed CSS with comments and indentation typically shrinks by 20% to 45% before server gzip or Brotli compression.

Is my CSS code sent to an external server?

Never. All parsing and compression run completely inside your browser tab.

Explore More Utilities