HTML Formatter
Format HTML with Prettier — configurable print width and indent.
Runs entirely in your browser
FAQ
- What powers the formatter?
- Prettier — the same tool most VS Code users have on save. The browser build is dynamic-imported so it only loads when you open this page.
- Does it touch my markup?
- Only whitespace changes. Attribute order and content are preserved.
Related tools
- CSS Formatter
Format CSS 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.