HTML Online Formatter

HTML Code Formatter

Format your HTML code and do it human-readable. The beautify process convert minified or uglified HTML to normal markup. Yes, it is true, the minified code takes less time to be transferred to the client but it cannot be understood by humans. So if you have any problem with the minified HTML, you can convert it back using the HTML Beautifier tool.

The prettify process does the followings:

  1. Ident your code based on parent nodes
  2. Place each block element on a new line
  3. Put the attributes' values in quotes

This HTML Beautifier is based on the library AngleSharp.

Don't worry if you don't know how to ident your code. Press a button and you will receive well-formatted HTML code.