CSS Minifier / Beautifier
Paste your CSS and click Beautify to format it with proper indentation, or Minify to compress it. All processing happens in your browser.
About CSS Minifier / Beautifier
This tool processes CSS entirely in your browser. No data is sent to any server.
- Beautify: Formats minified CSS with proper indentation and line breaks for readability.
- Minify: Removes whitespace, comments and unnecessary characters to reduce file size.
Minifying is a transport optimisation, not a build step you should keep in your source. Strip comments and whitespace for what ships, keep the readable copy for what you edit, and let the difference in size tell you whether it was worth it. On a server with compression already enabled the gain from minifying is smaller than most people expect, because gzip is very good at repeated whitespace, but it still helps and it costs nothing.
Is the markup fighting you?
Escaped entities, mangled encodings and content that renders one way in the CMS and another on the page usually mean something in the pipeline is guessing. We build front ends and the publishing path behind them, so what you write is what a visitor sees.
Talk to us about your site