HTML Tag Count

This will count HTML/XHTML tags to check for matching pairs of open/close tags, or missing tags (<html>, <head>, <title>, and <body>). This is particularly useful for finding errors in tables. No data is sent to the server—this is done locally on your computer. This is not as good as a validator, but is more forgiving of non-standard HTML.

Note: This is a just a quick check for matched pairs of tags. It works for fairly simple HTML. If there are “<” or “>” characters within the text or tag attributes, the count may be incorrect.

Paste the contents of an HTML or XHTML file here: