HTML Formatter

HTML Formatter

Indent HTML markup while preserving inline content.

HTML Formatter thumbnail

Formats structural tags and retains inline text, comments, preformatted text, and script/style content without executing scripts. HTML is permissive: this is a source formatter, not a browser-rendering validator.