Skip to content

CSS Formatter

Format CSS code with well-indented rules, properties and curly brackets.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · CSS Formatter

Runs in your browser · 100% local

El código no se ejecuta: solo se transforma como texto.

Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the code, URL or data you want to process.

02

Select the format or action available in the tool.

03

Check the result and copy it into your editor or configuration file.

Examples

Examples

Minified CSS

Converts a compact sheet into legible lines.

Review

Find properties and blocks with a clear structure.

Reference guide

What you need to know

The formatter separates selectors, declarations and blocks. It does not validate property compatibility or reorder the cascade. For production, minify the result again.

Frequently asked questions

Frequently Asked Questions

It can parse most of the syntax, but it does not recognise variables or mixins.

Related tools

Other tools that can help with similar tasks.

More at Web development→
CSS Formatter · Free online tool · ByTooly