Structure markup for humans
Consistent indentation makes nesting, missing wrappers and component boundaries easier to understand during review.
Beautify compressed or messy markup for editing, or remove unnecessary whitespace and comments for a smaller production file.
Consistent indentation makes nesting, missing wrappers and component boundaries easier to understand during review.
Comment removal is optional because conditional, build, licensing or framework comments may be meaningful.
The source is treated as text and processed locally. The output does not render scripts or external resources.
.html file.Ordinary block markup is preserved, but whitespace can be meaningful in inline content or specialized templates. Always test production output.
The formatter avoids normalizing content inside script, style, pre and textarea elements.
One usage is recorded when you press Format HTML or Minify HTML. Loading, copying and downloading do not add uses.