CSS formatter
Paste CSS and get one rule per line, properly indented.
Free, no sign-up, no uploadHow it works
Paste your CSS code in the box, choose the indent (2 spaces, 4 spaces or tab) and press Format.
Copy the result or download it as a file. Nothing is sent to a server: the formatting runs in your browser.
Private by design
Everything happens on your device. Files are not uploaded to any server.
Frequently asked questions
Is my CSS code uploaded anywhere?
No. It is formatted inside your browser and never leaves your device, so it is safe for private code.
Which indent can I choose?
2 spaces, 4 spaces or a tab.
Does it work with SCSS and Less?
Yes, pick SCSS or Less from the language list.
Related tools
HTML formatterFormat, indent and minify HTML online in your browserJavaScript formatterFormat and beautify JavaScript and TypeScript online in your browserCode formatter and beautifierFormat and beautify JSON, XML, PHP, HTML, CSS, JavaScript, TypeScript, SQL, YAML and more in your browserQR code generator that never expiresQR codes for links, text and Wi-Fi, no expiryUUID generatorGenerate random UUID v4 identifiers, one or hundreds at a timeRandom name pickerPick random names from a list or shuffle them into a random order