Make a stylesheet easier to inspect
Formatting separates rules, declarations, and indentation so that a stylesheet is easier to review. Minification removes some presentation whitespace to produce a more compact output. Neither operation proves that the CSS is correct, and neither resolves an unwanted cascade or a browser compatibility issue.
How to use this tool
- Paste a working copy of your CSS and keep the original saved elsewhere. Review comments and unusual syntax before transforming it.
- Choose the formatting or minification action. Inspect the result, particularly custom properties and nested or newer CSS syntax.
- Copy the output into a separate file and compare the rendered page with the original before replacing production code.
Both versions describe the same small rule. Whitespace makes the declaration boundary easier to inspect. Keep a readable source file even when you distribute a minified asset through your production build.
Read the reference documentation ↗