HTML Validator
Check HTML as you type: unclosed tags, double ids, missing alt text and labels, old tags. Each problem has its line number.
Check HTML as you type: unclosed tags, double ids, missing alt text and labels, old tags. Each problem has its line number.
Used HTML Validator? Share how it went to help others.
About this tool
HTML Validator reads your code and lists what is wrong with it, with the line number and a plain sentence for each problem. Paste a whole page or only a part, type, or open an HTML file. The list updates as you edit, and a click on a line number jumps to that line in the code. Problems are sorted into errors, warnings and tips, and each group can be hidden, so you can fix the serious ones first. The checks fall into four groups. Structure covers tags that are never closed, closing tags that match nothing, tags closed in the wrong order and an id that is used twice, together with the line of its first use. Accessibility covers pictures without alt text, form fields without a label, buttons without text, pages without a language and heading levels that are skipped, such as an h3 straight after an h1. Page covers what browsers and search engines need, for example the character set and the viewport setting for phones. Old code points out tags and attributes that should no longer be used. The tool sees whether you pasted a page or a fragment. A fragment is not blamed for a missing title or doctype. It also knows that HTML allows some closing tags to be left out, so a valid list without closing li tags is fine. Links to a part of the same page are checked too: if a link goes to a name that does not exist on the page, you are told. The whole report can be copied for a ticket or a message. Please note the limits. These are the most common mistakes and not every rule of the HTML standard, and the code is only read, never run, so what scripts add later is not seen. For a formal check against the full standard, use the validator of the W3C as well. Your code stays in your browser.

A page or only a part of it.
Errors, warnings and tips.
Click a line number.
The list updates as you type.
Each problem in one sentence.
One click takes you there.
Alt text, labels and headings.
A fragment is judged as a fragment.
Find it before visitors do
Find the tag that was not closed.
ExamplePaste the page and look under Structure.
Check the code of a newsletter.
ExamplePaste it before you send.
See what you forgot.
ExamplePress Example to try it.
Check the basics of a new page.
ExampleTitle, language and viewport.
Find pictures without alt text.
ExampleHide the other groups.
Send the list to a colleague.
ExamplePress Copy list.
Work in a good order
One open tag can cause many messages below it.
Leave it empty, but do not leave it out.
Use a class for things that repeat.
Senior Software Engineer · Developer of Toolyconvert
Hemant developed HTML Validator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 25 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.