Developer Tools
HTML Formatter
Pretty-print HTML markup and inspect the formatted size.
0Input chars
0Output chars
—Status
Formatted HTML will appear here.
Paste HTML to begin.
What this formatter does
It adds line breaks and indentation around common HTML tags to make markup easier to read.
Basic validation
The tool performs lightweight checks only. For production validation, use a standards-based HTML validator.