HTML Formatter
Pretty-print HTML markup safely, without executing it.
Processed locally in your browser whenever possible
Input
Output
Input is parsed as text only - it is never rendered or executed on this page.
How to use HTML Formatter
Paste HTML and press Format. The input is treated strictly as text and is never rendered or executed on the page.