CSS Formatter and Minifier
Format or compact CSS with a local syntax parser while preserving strings, calc spacing and custom property values.
css-formatterLOCAL WORKSPACE
Enabling local controls…
If clipboard access is denied, select the read-only output manually. Input HTML, SVG, CSS and JavaScript are never rendered or executed.
How to use this tool
Paste CSS, choose Format or Minify and inspect the complete output before copying. Load the sample to compare both modes.
When not to use it
Formatting does not validate browser support or remove unsafe CSS. No stylesheet is applied to this page.
Read the guide →