← All tools

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…

Each input: 1 MiB UTF-8; output: 2 MiB. Loading stops after 15 seconds; processing after 2 seconds. Content stays local, without uploads or storage.

Enter input or load a sample, then run.

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 →