CSS Beautifier & Formatter Online

Format minified CSS into readable rules, or minify it for production. SCSS and LESS work too.

Input —
Drop file to load
0 lines · 0 chars
Output —
0 lines · 0 chars
Ready. Paste something and press Beautify.

About this CSS Beautifier & Formatter

This CSS beautifier puts every selector and property on its own line with consistent spacing. It's perfect for reading a minified stylesheet or tidying up hand-written CSS.

Switch the language to SCSS or LESS to format preprocessor code, or press Minify to compress your CSS.

Features

How to use

  1. Paste CSS (or SCSS/LESS) into the Input box.
  2. Press Beautify to format or Minify to compress.
  3. Copy the result.

Frequently asked questions

How do I unminify CSS?

Paste the minified CSS above and click Beautify. Each rule and declaration is placed on its own line.

Does it support SCSS and LESS?

Yes. Choose SCSS or LESS in the Language menu, or let auto-detect pick it.

Is CSS minification safe?

The minifier only removes comments and whitespace. It doesn't rename or reorder anything.

More free formatters