CSS Formatter
Format and minify CSS stylesheets
How to use
- Paste your CSS, minified or unformatted.
- It's reformatted with consistent indentation and spacing.
- Copy the tidy CSS back into your stylesheet.
Why use this tool
- Readable rules: Each declaration on its own line with consistent indentation.
- Tidy at scale: Great for cleaning up exported or generated stylesheets.
- 100% private: Everything runs in your browser. Your data is never uploaded to a server, so it's safe for confidential content.
Frequently asked questions
Does it change my styles?
No. Only whitespace and formatting change — selectors, properties, and values are preserved exactly.
Can it minify CSS too?
For shrinking CSS for production, use the Minify CSS tool; this one focuses on making CSS readable.
Is my CSS private?
Yes — it's formatted locally in your browser.
Back to all tools