Online HTML beautifier

In Programming | Keywords | Thanks to...

Takes an ugly unformatted HTML string and insert adequate newlines and indentation

Input HTML


Options


  • Indentation
  • How many tabs
  • How many whitespaces
  • Indentation string
  • Maximum amount of characters per line (not a hard limit)
  • Indent scripts
  • Brace style

Beautiful HTML (highlighted)


Beautiful HTML


Beautify! Loading...

This website uses cookies to ensure you get the best experience here.

Got it! More info