Validate HTML
Paste your markup. Issues are listed with line numbers.
Paste HTML and press Validate.
Catch HTML mistakes before they ship. Paste your markup to find unclosed tags, mismatched nesting, duplicate IDs, images missing alt text and deprecated tags. Free, instant, private.
Paste your markup. Issues are listed with line numbers.
Paste HTML and press Validate.
The validator parses your markup for structural problems: tags that were never closed, closing tags with no opener, crossed nesting, void elements with closing tags, duplicate id attributes, images missing alt, links missing href and long-deprecated tags like <font> and <marquee>.
Errors break rendering or behavior; warnings are quality and accessibility smells worth fixing.
This is a fast structural check, not the full W3C validator: it does not verify attribute values, ARIA roles, or conformance to a specific HTML version. For spec-level validation, run the W3C validator as well.
Everything runs locally, so you can validate private templates and drafts without publishing them anywhere.