CSS Formatter
Format CSS with Prettier — configurable print width and indent.
Runs entirely in your browser
FAQ
- Does it work with SCSS or LESS?
- It uses Prettier's postcss parser, which handles plain CSS well and supports many PostCSS features. For SCSS-specific syntax use Prettier locally with the SCSS parser.
- Can I change the line length?
- Yes — the Print width control sets Prettier's line-wrap threshold; 80 is the default, 100–120 is common for wide monitors.
Related tools
- HTML Formatter
Format HTML with Prettier — configurable print width and indent.
- SQL Formatter
Format SQL for many dialects (PostgreSQL, MySQL, SQLite, T-SQL, PL/SQL, BigQuery…).
- Regex Tester
Test regular expressions with live match highlighting.
- Markdown Preview
Live GFM Markdown preview with syntax-safe HTML rendering.