Format CSS stylesheets with clean indentation, including nested rules and media queries.
No comments yet. Be the first!
Format CSS with clean indentation for nested at-rules, media queries, keyframes and custom properties.
No — this tool formats standard CSS only, and does not claim to support SCSS/Less-specific syntax (like nested selectors or variable interpolation), to avoid producing incorrect output.
Yes — nested at-rules (like @media, @keyframes) and CSS custom properties (--variable) are all correctly recognized and given clear indentation.
A clear error message is shown (e.g. "unclosed block"), and your original input is preserved — the tool never tries to guess or silently fix your stylesheet.
Formatting runs entirely in your browser — the source you paste or upload here is never sent to any server.