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

CSS Formatter Online

Comprehensive CSS formatter with customizable rules: indent size, 2 spaces, 4 spaces or tabs, optional A to Z property sorting and comment stripping. Configure once, format any CSS to match your team's style guide.

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.