Utilrix

HTML Formatter

Beautify minified or messy HTML with proper indentation.

INPUT
OUTPUT

Processed 100% in your browser — nothing you enter here is ever uploaded.

Common use cases

Cleaning up markup exported from a CMS

Many CMS exports collapse everything onto one line — reformat the export so it's actually reviewable in a diff.

Reviewing an email template before sending

Check the structure of an HTML email template is correct before it goes out to a real audience.

Untangling HTML pulled by a scraper

Turn the raw HTML captured by a scraping script into something readable enough to find the selectors you need.

How to use the HTML Formatter

Paste minified, inline, or inconsistently indented HTML into the input panel.

Click Format to get clean, consistently indented markup.

Copy the result straight into your editor or template file.

Frequently asked questions

Related tools