HTML
Find unclosed and mismatched HTML tags in seconds — with line numbers, not vague errors.
Validation runs locally in your browser. Nothing is uploaded, logged, or stored.
Every opening tag is pushed onto a stack and matched against its closing tag, so the validator catches tags that are never closed, closers that match the wrong element, and unexpected closers with no matching opener. Void elements like <img>, <br>, and <input> are treated correctly and never flagged as unclosed.
After fixing issues, prettify the result with the HTML Formatter. For strict well-formedness checks on XML, use the XML Validator.
A single missing closing div can shift an entire page — locate it by line number in seconds.
Validate email or CMS templates after manual edits before they go live.
Pretty-print HTML with clean indentation — normalize messy markup in one click.
Minify HTML by collapsing whitespace and optionally removing comments.
Describe what you want to match and get a working regular expression with explanations and examples.
Test regular expressions against sample text with match highlighting, capture groups, and explanations.
Looking for something else? Browse all tools