HTML Formatter

Format and beautify HTML code with proper indentation.

Runs on this device
0 chars

Formatted HTML

Paste HTML to format it

What stays unchanged

  • Minify removes comments and collapses whitespace.
  • It leaves the contents of pre, code, textarea, script and style elements as written.
  • The tag warning only finds unclosed or unmatched tags; it is not a full validator.