CSS Tools
Popular
Recently added

CSS Beautifier & Minifier

Format messy CSS into readable blocks or compress it by stripping comments and extra whitespace.

Features

  • Beautify with indentation
  • Minify CSS
  • Comment stripping on minify
  • One-click copy

How to use CSS Formatter

  • 1
    Paste CSS into the input.
  • 2
    Click Beautify or Minify.
  • 3
    Copy the output.

Examples

Minify

Input
body { color: #111; }
Output
body{color:#111}

About CSS Formatter

Beautify stylesheets for readability or minify them for transport. Expand nested-looking mess into something reviewable, or compress whitespace for demos.

Frequently asked questions

It uses practical whitespace rules and may need manual tweaks for unusual syntax.

Comments are removed during the normalize step used by both modes.

No.