Formatters tool
✦ Browser-firstCSS Beautifier
Format or minify CSS.
About this tool
Format CSS with one declaration per line, or minify it to shrink file size. Comments are kept when formatting.
How to use the CSS Beautifier
- Paste your CSS.
- Choose Beautify or Minify.
- Copy the output into your project.
Common uses
- Reading minified stylesheets
- Shrinking CSS for production
- Tidying generated CSS
CSS Beautifier questions
Does minify rename classes?
No. It removes comments and whitespace only.
Does it support modern CSS?
Yes, including custom properties, media queries and nesting syntax.
Is my CSS uploaded?
No, it is processed in your browser.