HTML Formatter

Indent nested HTML elements and preserve whitespace-sensitive text.

How to use it

Fill in the fields and run the tool. Copy the result directly from this page.

Using the html formatter

Indent nested HTML elements and preserve whitespace-sensitive text.

HTML source

Frequently asked questions

What do I need to use HTML Formatter?

Start with HTML source. Use the units and formats shown beside the inputs.

Do I need to create an account?

No. You can browse and use TinyToolbox’s available tools without an account.

Related tools