CSS Minifier

Minify CSS syntax with CSSO while keeping structural restructuring disabled.

Your input is processed in this browser and is not uploaded.

CSS Minifier

Create compact CSS for inspection or delivery. CSSO processes syntax and values while structural restructuring is explicitly disabled.

How to use it

  1. Paste CSS source.
  2. Select Run tool.
  3. Compare the compact output with the original and test it before replacing a production asset.

Worked example

p { color: red; margin: 0px; }

can become:

p{color:red;margin:0}

Limits and troubleshooting

This does not check browser compatibility, add vendor prefixes, compile CSS-in-JS or produce source maps. Disabling restructuring does not preserve comments, spelling or whitespace byte for byte. Test important selectors and newer syntax in target browsers. Limit: 200,000 input characters.

Frequently asked questions

Does this remove unused CSS?

No. It cannot inspect your HTML, JavaScript or runtime states to determine unused selectors.

Can I recover the original formatting?

No. Keep the source separately; later formatting cannot restore removed comments or original layout.