HTML Tag Detective

Last modified on

Paste your HTML code here. ⬇️


How to Use

Paste your HTML code onto the editor above then hit 🔎 Check to analyse it.

This only works for HTML code.


The Detection

Here's what it can sniff out:

  • Unclosed tags.

    A tag was opened but never got its matching closer anywhere in the document.

  • Mismatched tags.

    A closing tag shows up, but it doesn't match whatever's actually sitting innermost on the stack at that point (e.g. a stray </p> appearing where a </div> was expected). This is the sneaky one! It often looks like an unrelated tag further up is broken, when really it's this mismatch throwing everything off further down the line.

  • Stray closers.

    A closing tag turns up with no opener at all preceding it anywhere.