Skip to content

HTML Validator

Paste your HTML and get a list of structural errors and basic accessibility warnings before publishing.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · HTML Validator

Runs in your browser · 100% local

Etiquetas

12

Errores

0

Avisos

0

No se han detectado problemas estructurales.

Recuerda que esta revisión no sustituye al validador oficial del W3C: comprueba también atributos, accesibilidad y contenido.

La comprobación es estructural y local: detecta cierres, duplicados, imágenes sin alt y metadatos básicos. No envía el código a ningún servidor.

Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the complete HTML code or a snippet into the text box.

02

Check the list of errors and warnings; each one indicates the affected tag or attribute.

03

Correct the code and paste the updated version again to check that there are no remaining issues.

Examples

Examples

Unsealed label

An open <div> nested within another that has not been closed results in an error.

Image without alt text

A <img> tag without an ‘alt’ attribute triggers an accessibility warning.

Duplicate ID

Two elements with the same ID are highlighted because they must be unique.

Reference guide

What you need to know

The validator analyses the structure using a tag traversal and an opening stack. It does not execute JavaScript or render the HTML, so it is safe to check snippets from any source.

It is not a substitute for the W3C validator, nor does it check all permitted attributes. It focuses on common issues that break the structure or affect basic accessibility.

Frequently asked questions

Frequently Asked Questions

Yes. If you paste in a snippet, it will warn you that the full document is missing, but it will continue to check the tags.

Related tools

Other tools that can help with similar tasks.

More at Web development→
Online HTML validator: errors and warnings · ByTooly