ContentFree

Header Hierarchy

Validates your heading structure (H1-H6) for logical hierarchy. Proper headers help AI engines parse content sections accurately.

Why It Matters for AI Visibility

AI engines like ChatGPT and Perplexity parse your heading structure to build a mental model of what your page covers. Headings act as section labels that AI uses to index and retrieve specific answers. When a user asks "How do I configure X?" the AI looks for an H2 or H3 matching that topic -- and if your heading hierarchy is broken, it may never find the right section. Google AI Overviews use heading structure to determine which sections to cite in synthesized answers. Skipped levels or missing H1 tags make it harder for the AI to identify the page's primary topic and how subtopics relate to each other. A page that jumps from H2 to H4 signals a broken outline, and broken outlines get skipped in favor of pages with clean structure. This applies to screen readers too. A well-structured heading hierarchy serves double duty: it makes your content accessible to assistive technology and machine-readable for AI crawlers. Fixing your headings improves both human accessibility and AI visibility simultaneously.

How We Score It

The score starts at a perfect 10 and deducts points for each structural issue found. Missing an H1 costs 3 points -- the most severe penalty since the H1 defines the page's primary topic. Having multiple H1 tags costs 2 points because it confuses primary topic identification. Each skipped heading level (for example, jumping from H2 to H4 without an H3) costs 2 points. A page with one H1, properly nested H2s and H3s, and no gaps scores a perfect 10. A score of 7 or higher passes, 4-6 is partial, and 0-3 is a fail. The analyzer also builds a visual heading tree so you can see your full structure at a glance and spot exactly where gaps occur.
See how your site scores on this factorAnalyze My Site

How to Improve

  • 1

    Use exactly one H1 per page

    The H1 should be the page title or primary topic. If your CMS automatically generates an H1 from the page title, do not add another one in the content body. Every page needs exactly one H1 -- no more, no less. Multiple H1 tags cost 2 points and confuse AI engines about what the page is actually about.

  • 2

    Never skip heading levels

    Go H1, then H2, then H3 sequentially. If you need a sub-section under an H2, use H3 -- not H4. Each skipped level deducts 2 points. This sequential nesting tells AI parsers exactly how your content is organized, making it easy to extract the right section for a given query.

  • 3

    Use headings as a content outline

    Before writing, draft your headings as a skeleton. If the headings alone do not tell a coherent story about the page topic, revise them. AI engines often extract just the heading hierarchy to understand what a page covers. Think of your headings as a table of contents that must stand on its own.

  • 4

    Audit heading levels in your CMS editor

    Many WYSIWYG editors let authors pick heading sizes for visual reasons. An H4 used for visual size when it should be an H2 breaks the semantic hierarchy. Use CSS classes for styling instead of heading tags. The heading level must reflect content structure, not font size preferences.

Before & After

Before
H1: Our Blog
H1: 10 Tips for Better Sleep
H3: Tip 1 - Set a Schedule
H3: Tip 2 - Avoid Screens
After
H1: 10 Tips for Better Sleep
H2: 1. Set a Consistent Sleep Schedule
H2: 2. Avoid Screens Before Bed
Before
H2: Features
H4: Analytics Dashboard
H4: Team Management
After
H1: Acme Project Management Platform
H2: Features
H3: Analytics Dashboard
H3: Team Management

Code Examples

Correct heading hierarchy in HTML

<h1>Complete Guide to Container Orchestration</h1>
  <h2>What Is Container Orchestration?</h2>
  <h2>How Does Kubernetes Work?</h2>
    <h3>Pods and Deployments</h3>
    <h3>Services and Networking</h3>
  <h2>Kubernetes vs Docker Swarm</h2>

Frequently Asked Questions

Is it okay to have no H1 if the page title is in the browser tab?

No. The browser tab title and the H1 serve different purposes. AI engines look for an H1 in the page body to identify the primary topic. The title tag is metadata; the H1 is the on-page signal. Always include one visible H1 -- missing it costs 3 points.

Can I use H2 tags for styling even if it breaks the hierarchy?

No. Use CSS classes for visual styling and reserve heading tags for semantic structure. AI engines rely on heading levels to parse your content outline, not visual size. An H2 used purely for its font size where an H3 belongs creates a structural gap that the analyzer will flag.

Does the order of headings in the HTML matter, or just the levels?

Both matter. The analyzer checks sequential heading order. If an H2 is followed by an H4 (skipping H3), that counts as a skipped level regardless of where those headings appear visually on the page. The HTML source order is what AI crawlers read.

Related Factors

Check Your GEO Score

Run a free analysis on your website and see how you score across all 52 factors.

Analyze My Site