HTML Validator
Find unclosed tags, unknown elements, bad attributes and missing alt text, with the line of each problem.
Add HTML and click Validate to check it for errors.
If you found any issues with our HTML Validator tool, contact us.
How HTML Validator works
Checks HTML against the rules of the HTML standard and lists every problem it finds. It finds unclosed or wrongly nested tags, unknown elements, bad or duplicate attributes, duplicate IDs and images with no alt text.
Input to HTML Validator
- Paste or type HTML into the input box, or upload a
.html,.htmor.txtfile. - You can also choose the rules: HTML standard, or Strict, which adds style and accessibility checks.
Output from HTML Validator
- If your HTML passes every check, you see a No errors found message.
- If not, you'll see each problem with its line, column and a short message.