This HTML Formatter helps you quickly beautify messy HTML code. It adds proper indentation and spacing, making it easier to read, maintain, and debug. Simply paste your HTML into the text area, choose the indentation level, and click "Format" to see the result.
Input
<body><div id="root"><h1>Hello, World!</h1></div></body>
Output
<body>
<div id="root">
<h1>Hello, World!</h1>
</div>
</body>