Skip to content
Developer tool · Free · No sign-up

CSS Beautifier: Clean or Minify CSS in One Click

Turn messy CSS into clean, readable rules, or minify it to one line. Pick the indent, sort properties, strip comments. Everything runs in your browser.

Rate this tool

CSS Studio

Beautify · minify · indent · sort · strip comments

Nothing uploaded Free · No sign-up

Your CSS

Beautify options

Minify always strips comments and ignores these options.

Formatted CSS

Input
0 Bytes
Output
-
Change
-

Paste CSS, upload a .css file or load the sample. The result appears here.

A formatter, not a validator: it tidies whatever you paste, so check odd output against your original.

No sign-up needed Files never uploaded Handles @media and @keyframes Bytes saved shown
Directions: tidy or shrink
2
Indent styles
3
Largest .css upload
5 MB
Files uploaded
0
CSS stays on your devicePasted and uploaded CSS is formatted in your browser. Nothing is sent or stored.
Both directionsBeautify into readable rules, or minify to one line, from the same box in one click.
Safe with calc()Strings stay as written and the spaces calc() needs around + and - are kept.
Free, no sign-upFormat as much CSS as you like. Upload .css files up to 5 MB, download the result.
What's next

Keep polishing your front end

Tools that pick up where this one leaves off.