CSS Formatter & Minifier
Format CSS, SCSS and Less with a real parser that checks the syntax, or minify CSS safely and see the bytes saved.
Offline prerequisites
The installed app shell does not prepare every operation. Choose the resources you need, prepare while online, then recheck before disconnecting. Downloads below are approximate bundled sizes; network transfer can differ.
This tool has no separately downloaded codec/model prerequisite in this build. Its app code must still be installed, and browser APIs, file limits and supported formats still apply.
Checking this build’s offline resources…
Tab moves to the next control. Ctrl+] or Command+] inserts a tab.
About this tool
Format CSS, SCSS or Less with Prettier’s CSS parser, which also reports syntax errors such as a missing closing brace by line and column.
Minify removes comments and whitespace that can’t affect the result and drops the last semicolon in each block, while leaving strings, url() values and /*! licence comments exactly as written, then shows how many bytes you saved.
Minifying is deliberately conservative: it never rewrites colours, merges rules or reorders anything, so the stylesheet behaves exactly as before.