How to use the CSS Formatter and Minifier
- Add your text, file or details in the tool above.
- Adjust the settings to get the result you want.
- Copy or download your result. Nothing is uploaded.
What you can use it for
- Read and debug minified CSS
- Tidy stylesheets before code review
- Minify CSS to speed up your site
Private by design
The CSS Formatter and Minifier runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.
Frequently asked questions
Will minifying break my CSS?
No. It removes comments and spaces only. Keep your formatted version for editing.
Which formatter is used?
Prettier, the same formatter used by most development teams.