HTML validator

Validate the HTML of a page or a snippet with the W3C validator.

  • Development
  • Free today: 10 / 10 · Go unlimited
  • No sign-up
  • Live results
HTML validator

What is the html validator?

The HTML validator checks a web page or the HTML you paste against the HTML standard, with the W3C Nu HTML Checker. Every error and warning is listed with its line, column and the code around it.

Valid HTML renders the same in every browser, is easier for assistive technology to read and avoids surprises such as broken layouts from an unclosed tag.

How to use the html validator

  1. 1Choose a web page URL or paste HTML code into the editor.
  2. 2Press Validate.
  3. 3Fix the errors from the top: one mistake often causes several messages.

Features

W3C Nu checker

The official HTML5 validator.

URL or code

Validate a live page or a snippet.

Code editor

Syntax highlighting while you paste and edit.

Line numbers

Every message with its position and extract.

Frequently asked questions

Does invalid HTML hurt SEO?

Small errors don't, as browsers and Google are tolerant, but serious ones like unclosed tags can hide content.

Why so many errors for one mistake?

An unclosed or misplaced tag affects everything after it. Fix the first errors and validate again.

What's the difference between errors and warnings?

Errors break the HTML standard; warnings point to things that are allowed but not recommended.