Back to Tools
Formatting and validation
HTML Formatter
Indent, minify, and check HTML structure locally in your browser, including documents with attributes, comments, and omitted closing tags.
HTML workspace
Applied only when you choose Format.
Paste a full HTML document or a fragment, then choose an action. Formatting and minification leave your input unchanged.
HTML output
Formatted or minified HTML appears here. Validation does not create output.
No transformed output yet.