CSS Minifier & Beautifier
Local — Runs in your browser; files and input stay on this deviceFree — Free to useMinify CSS to reduce its size, or format minified CSS for easier reading. Runs entirely in your browser with no upload or account.
Input CSS
Output
Runs in your browser; files and input stay on this device
How to use CSS Minifier & Beautifier
- 1Paste CSS or select a CSS or text file.
- 2Choose Minify for compact output or Beautify for readable indentation.
- 3Review the byte comparison, then copy the output.
Frequently asked questions
- What does CSS minification remove?
- It removes comments and unnecessary whitespace, and compacts separators where the stylesheet can still be parsed.
- Does beautifying CSS change how it renders?
- It is intended to change layout and indentation only. Always test generated CSS when the source relies on unusual escape or comment patterns.
- Is this a CSS optimizer?
- No. It does not remove unused selectors, merge equivalent rules, or analyze an HTML page. It only minifies or formats the CSS you provide.