Drag and Drop CSS file here
or click to select a .css fileOr type/paste CSS code below:
Beautification Options
Remove Comments
Strip all comments from code
Remove Whitespace
Remove unnecessary spaces and line breaks
Sort Properties
Alphabetize CSS properties
Add Missing Semicolons
Automatically add missing semicolons
Note: This tool formats CSS with default professional settings (2 spaces indentation, expanded selectors).
About This CSS Beautifier
This tool beautifies CSS code using professional default settings:
- 2 spaces indentation (industry standard)
- Expanded selector format (each on new line)
- Configurable options for comments and properties