CSS Formatter

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Reformat CSS indentation and line breaks while retaining rules, comments, and property values.

Result

     

Loading the tool…

How to use CSS Formatter

How do I use it?

Input
  • CSS
Settings
  • Operation
  • Indent
  • Remove comments
Run
Format

How it works and examples

Format a nested media query while preserving a;b inside the string.

Input limits

Search tools