CSS Formatter/Minifier
CSS formatter and minifier: beautify stylesheets with consistent indentation and line breaks, or strip whitespace and comments to shrink them. Free and instant in your browser, ready for production.
Embed
What is CSS Formatter/Minifier?
CSS formatter and minifier: beautify stylesheets with consistent indentation and line breaks, or strip whitespace and comments to shrink them. Free and instant in your browser, ready for production.
How to Use
- 1Enter CSS— Paste your CSS code on the left.
- 2Select mode— Choose format or minify mode.
- 3Execute— Click the execute button and the result will be displayed.
Related Tools
Frequently Asked Questions
Currently only pure CSS is supported. SCSS/LESS support is planned for a future update.
No. Only formatting and minification are performed. Use a separate tool for Autoprefixer.
Comments, whitespace, and line breaks are all removed, reducing file size.
No. Prettier runs directly in the browser.
No. Only CSS code itself is formatted.