Skip to main content

Heading Structure Checker

Checks the heading outline of pasted HTML for a missing h1, skipped levels, empty and repeated headings, and shows it as a nested list.

Runs in your browser.

Last updatedHow we build & check our tools

Interactive Tool

Loading interactive tool…

Enter your values once it appears to see your results.

Results will appear here once the tool finishes loading. Everything runs locally in your browser.

What the checker reports

Paste HTML and the checker extracts every h1 to h6 element, plus elements marked up with role="heading", in document order. It reports a missing h1, more than one h1, a first heading that is not level 1, heading levels that skip (an h2 straight to an h4), empty headings, headings longer than 120 characters, and the same heading repeated under one section. Empty headings and skipped levels count as errors; the rest are warnings or notes, each naming the WCAG criterion it relates to — 1.3.1 for structure, 2.4.6 for headings that describe their section.

The result also shows your outline as a nested list, each heading tagged with its level and skips marked, so you can read the page's structure at a glance the way a screen reader user navigates by heading.

When to check your outline

Heading levels get lost in editing: a section title is restyled as bold text, an article is pasted in from another source with its own h1, a sub-topic is added and its level skipped. Check pages after heavy editing and before publication.

For a page in a CMS, copy the page source or use a preview-HTML view and paste it here. Because headings usually live in templates, checking one representative page often clears whole sections of a site. The HTML page checker reports heading problems too, but this one shows the outline on its own, which makes reordering decisions easier to see.

The habit worth building: fix, re-paste, and confirm the outline reads as a simple tree before you publish.

What a clean outline cannot tell you

A clean outline is not automatically a meaningful one. The checker cannot judge wording: only you can decide whether each heading names its section well.

  • Fake headings are invisible to it — text that is merely bold or styled large, but is not real h1-h6 markup, does not appear in the outline at all.
  • Valid nesting can still be wrong — levels that step down one at a time satisfy the check, but whether a sub-topic really belongs under its parent is an editorial call.
  • Repeated headings — the same text under different sections passes; whether that confuses navigation in a long page is your judgement.

Read the outline and ask whether it works as a table of contents. Our heading structure guide covers the wording rules a tool cannot apply.

Frequently Asked Questions

Common questions about the Heading Structure Checker

Only real heading markup: h1 to h6 elements, plus elements given role='heading' with an aria-level. Text that is merely bold or styled to look big is invisible to the checker. If the outline looks empty while the page visually has titles, that gap is exactly the problem the check is pointing at.

Sources & References

Headings tutorial

Explains how a logical heading outline helps screen reader users move around a page.

Headings and Labels 2.4.6

Headings must describe the topic or purpose of the section they introduce.