CSS Formatter
Expand and indent CSS with one declaration per line.
Runs locally · Nothing uploaded
CSS input
Formatted CSS
Result will appear here…Advertisement
About CSS Formatter
Formats CSS into a readable layout: each selector block expanded, one declaration per line, consistent spacing around braces and colons. Media queries and nested at-rules are indented properly. Ideal for reading minified stylesheets pulled from production.
Related tools
Web & CSSRuns locally in your browser.CSS MinifierCompress CSS by removing whitespace, comments, and redundancy.Web & CSSRuns locally in your browser.HTML FormatterRe-indent HTML markup so nesting is easy to read.Web & CSSRuns locally in your browser.CSS Unit ConverterConvert between px, rem, em, and pt at a configurable base size.