← Development tools
DEVELOPMENT
HTML Formatter
Format HTML with consistent indentation for easier reading.
Enter values to runLoad from an HTML fileYou can also type directlyOr drop an HTML file into this area.
Result
Example result
<main> <h1>Hello</h1> <p>Text</p> </main>
Run the tool with your input to replace this example with the actual result.
STEPS
How to use
- Paste your HTML code or load an .html/.htm file.
- Run the tool to add readable line breaks and indentation around tags.
- Copy the formatted HTML into your template or editor.