CSS Formatter & Minifier

Format CSS rules or compact whitespace for smaller stylesheets.

Category: Developer Tools

Input

Processing happens locally in this browser. Your input is not uploaded.

Output

The output is generated locally and remains on this device.

About this tool

Format or compact CSS while preserving strings and comments. Process stylesheets locally without uploading source code.

  • Format selectors, declarations and nested at-rules with indentation.
  • Minify whitespace conservatively while preserving strings and comments.
  • Report unclosed strings and comments.
  • Never execute or upload CSS input.

This tool runs in your browser. Do not use it as a substitute for a full standards validator where one is required.