CSS Formatter & Minifier
Format CSS for readability or minify it by removing unnecessary whitespace.
№ 024Runs locally
What this tool does
CSS Formatter & Minifier. Format CSS for readability or minify it by removing unnecessary whitespace.
When to use it
Use it to review stylesheets during development or prepare compact CSS snippets.
How to use
- Try this sample input first: .box{color:red;padding:4px}.
- Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
- Run the tool and read any validation or status message. Correct the input format before trying again if needed.
- Check whether the result matches the example output: .box { color: red; padding: 4px; }. Then copy or download it.
Your input and files are processed in this browser. They are not uploaded by this toolbox.
Input and output example
.box{color:red;padding:4px}.box {
color: red;
padding: 4px;
}