TTKTheTextKit

Heading Tag Analyzer

Paste your HTML or Markdown to see its headings as an indented outline, with the count at each level. The tool flags skipped levels and empty headings, which are problems a reader can notice, and adds notes about the H1 count that follow what Google and the W3C say. Everything runs in your browser.

Total8
H11
H23
H34
H40
H50
H60
Notes
  • Google says that heading order and the number of headings do not matter for Search. Headings help readers and screen readers.
Visual Heading Outline (8, read as HTML)Indented by hierarchy level
H1
Mastering On-Page Technical SEO for Higher Rankings
51 chars
H2
Understanding Crawl Budgets & Indexing
38 chars
H3
Robots.txt Best Practices
25 chars
H3
XML Sitemaps Architecture
25 chars
H2
Heading Structure and Semantic HTML
35 chars
H3
Common Heading Hierarchy Mistakes
33 chars
H2
Structured Data and Rich Snippets
33 chars
H3
FAQ and Article Schema Types
28 chars

Related Tools

[4 suggestions]

Guides for the Heading Tag Analyzer

About the Heading Tag Analyzer

The Heading Tag Analyzer lists the h1 to h6 elements of a page in order and shows them as an outline. For HTML it reads the markup the way a browser does: it ignores headings inside comments, scripts, styles and templates, ends a heading at the first closing heading tag, closes a heading that was left open inside a div, decodes entities such as & and é, and uses the alt text of an image inside a heading. We compared it with Chromium's own parser on 4,000 random broken documents (it matched on all but 4) and on the headings of real pages. For Markdown it reads ATX headings (# Title) and setext headings (a line underlined with === or ---), skips code blocks and HTML blocks, and removes bold, links and code marks from the text. Headings inside list items and quotes are not listed. The tool reports two kinds of finding. Problems are things readers notice: empty headings and skipped levels, which the W3C advises against because they can confuse people who navigate by headings. Notes are information. Google's SEO Starter Guide says that heading order and the number of headings do not matter for Search, and Google has said that several H1 headings are fine, so a missing or repeated H1 is a note and not an error.

Can a webpage have more than one H1 heading?▾

Yes. HTML allows it, and Google has said that several H1 headings are not a problem for Search. Accessibility guidance such as the W3C tutorial treats the H1 as the main heading of the page, so use more than one only when it is intentional. The tool shows it as a note, not an error.

Why avoid skipping heading levels?▾

The W3C advises against it, for example an H2 followed directly by an H4, because people who use screen readers navigate by heading level and a gap can confuse them. Google says the order does not matter for Search, so this is about readers, not rankings.

Does Google need an H1 or a certain number of headings?▾

No. Google's SEO Starter Guide says it does not matter if headings are used out of order and that there is no ideal number of headings on a page. A clear main heading and headings that describe each section still help readers.

What HTML does the analyzer ignore?▾

Headings inside comments, script and style elements, templates and textareas are ignored, because a browser does not show them as headings. If your HTML is broken, such as an unclosed link in a heading, the tool ends the heading where a browser would.

Does it find headings in Markdown?▾

Yes, when the text has no HTML headings. It reads # headings with up to six levels and lines underlined with === or ---, and it skips fenced and indented code blocks. Headings inside list items and block quotes are not listed.