Developer
HTML Viewer & Formatter
Format compact HTML into clean, readable and consistently indented markup.
When to use the HTML Viewer & Formatter
Use it to read minified or messy HTML, for example from a CMS export, an email template or a page you are debugging.
Examples
- Format a one-line HTML email template before editing it.
- Indent a copied page section to find an unclosed tag.
Common mistakes
- Formatting
<pre>or whitespace-sensitive content and changing how it displays. - Pasting untrusted HTML into a live page after formatting it.