HTML Validator

Find unclosed tags, wrong nesting and duplicate IDs in HTML.

HTML Validator

.html · .htm

Paste text or open a file to see the result.

What it does

Looks for common HTML problems: tags that are not closed, wrong nesting and IDs used more than once. Such errors can break the layout or scripts in some browsers. You get a list of problems with the line of each one.

About the .html format

.HTML file extension
File Type
Hypertext Markup Language File
Developer
W3C / WHATWG
Category
Web Files
MIME
text/html

HTML is a markup language that defines the structure and presentation of content on the World Wide Web. It is one of the core technologies, along with CSS and JavaScript, that helps render web pages in all their glory.

Also works with

Related tools

More in Validators

HTML Validator questions

How do I use the HTML Validator?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .html change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .html page lists programs and converters for it.