SEO Checks · On-Page
Heading hierarchy (H1–H6) explained: what we check & why it matters
Quick answer: HTML headings (H1–H6) create a content outline that search engines, screen readers, and AI systems all rely on. Every page needs exactly one H1 as its main topic signal, and subheadings should follow a logical hierarchy without skipping levels (H2 → H3 → H4, not H2 → H4). Our engine runs three heading checks: missing H1, multiple H1s, and hierarchy skips.
What is heading hierarchy?
Heading tags (<h1> through <h6>) create a document outline — a nested structure that communicates topic, subtopic, and detail relationships:
<h1>Main topic of the page</h1>
<h2>First subtopic</h2>
<h3>Detail under first subtopic</h3>
<h3>Another detail</h3>
<h2>Second subtopic</h2>
<h3>Detail under second subtopic</h3>This structure tells search engines how your content is organized. The H1 is the page's primary topic. H2s are major sections. H3s are subsections within those sections. Skipping levels (e.g., H1 → H3 with no H2) breaks this hierarchy and makes the outline ambiguous.
Why heading structure matters for SEO
Google uses headings as a strong signal for understanding page content:
- Topic understanding: The H1 is one of the strongest on-page ranking signals after the title tag. Google uses it to confirm what the page is about.
- Featured snippets: Google often pulls content from under well-structured H2/H3 headings for featured snippet boxes. Pages with clear heading hierarchy are more likely to win featured snippets.
- Passage ranking: Since 2021, Google can rank individual passages within a page. Clear headings help Google identify and rank the most relevant passage for a query.
- Accessibility: Screen readers use headings to let visually impaired users navigate a page. Skipped heading levels break this navigation — users can't tell whether they missed a section or the structure is wrong.
How our engine checks headings
We run three distinct heading checks on every page:
Check 1: H1 missing
ID: onpage-h1-missing
Severity: Critical
Scope: Per page
Logic: We extract all heading elements from the HTML and filter for <h1> tags. If zero H1 tags are found, the check fails.
Why it's critical: A missing H1 is one of the most impactful on-page SEO issues. Without it, search engines lose their primary topic signal, and the page is less likely to rank for its target keyword. Every indexable page should have exactly one H1 that includes the primary keyword.
Check 2: Multiple H1 tags
ID: onpage-h1-multiple
Severity: Warning
Scope: Per page
Logic: We count the number of H1 tags on the page. If there's more than one, the check fails. We report all H1 texts found so you can identify which ones to consolidate or demote to H2.
Why we flag it: While HTML5 technically allows multiple H1s inside sectioning elements, Google recommends one H1 per page. Multiple H1s dilute the topic signal — instead of one clear focus, the page sends competing signals about what it's about. Common cause: a logo wrapped in an H1 tag plus a content H1 in the body.
Check 3: Heading hierarchy skips levels
ID: onpage-heading-hierarchy-skips
Severity: Warning
Scope: Per page
Logic: We walk through all heading elements in document order, tracking the current level. If a heading jumps more than one level from the previous heading (e.g., H2 to H4, or starting with H3 before any H1/H2), we record a skip. The check fails if any skips are found. We report each skip with its from/to levels and the heading text.
Why we flag it: Skipped heading levels signal disorganized content. They break screen reader navigation, confuse passage ranking, and suggest the page wasn't structured intentionally. The most common skip is using H3 or H4 for visual styling instead of semantic meaning — use CSS classes for visual sizing, not heading levels.
How to read your heading check result
When you run a URL through our free checker, each heading check shows:
- Pass (green): One H1 is present, and headings follow a logical hierarchy. No action needed.
- Critical (red) — H1 missing: No H1 tag found. Add one with your primary keyword.
- Warning (yellow) — multiple H1s: More than one H1 found. Keep the most relevant one and demote others to H2.
- Warning (yellow) — hierarchy skips: Heading levels jump (e.g., H2 → H4). Insert the missing intermediate levels, or restructure to avoid the skip.
How to fix heading issues (by platform)
We have step-by-step fix guides for heading issues on every major CMS:
Headings and AI visibility
AI retrieval systems use heading structure to segment content and locate answers. When ChatGPT or Perplexity retrieves your page, they parse headings to find the section most relevant to the user's query. A well-structured heading hierarchy means the AI can extract a precise answer from the right section — rather than pulling an ambiguous passage from an unstructured wall of text.
Pages with clear H2/H3 question-answer patterns are especially likely to be cited in AI responses, because the structure matches the query-answer format AI systems are designed to return.
For more on AI citation optimization, see our How to get cited by ChatGPT, Perplexity & Claude guide.
Check your heading structure
Our free checker tests H1 presence, multiple H1s, and heading hierarchy on your page — plus 60+ other SEO checks. No signup required.
Check your site free →FAQ
Why is the H1 tag important for SEO?
The H1 tag is the primary heading of a page and one of the strongest on-page ranking signals. Search engines use it to understand what the page is about. A missing H1 means Google has to infer your topic from surrounding content.
Can a page have multiple H1 tags?
Technically yes — HTML5 allows it. But in practice, Google recommends one H1 per page. Multiple H1s dilute the topic signal and can confuse screen readers.
What does "heading hierarchy skips levels" mean?
A heading hierarchy skip occurs when you jump from one heading level to a non-adjacent level — for example, going from H2 directly to H4 without an H3 in between. This confuses screen readers and signals disorganized content structure.
Do headings affect AI visibility?
Yes. AI retrieval systems use heading structure to segment content and understand topic hierarchy. Well-structured headings help AI systems extract the right answer from the right section.
Keep reading