Heading Analyzer: Check Your Heading Structure

Master H1-H6 hierarchy, fix common mistakes, and align with Google's guidelines for better SEO.

SEO Tools 10 min read April 13, 2026

Headings are the skeleton of your content. They tell search engines what your page is about, help users scan and navigate, and provide the structure that screen readers rely on for accessibility. Yet heading mistakes are among the most common SEO issues found on websites. A heading analyzer catches these problems automatically. This guide covers everything you need to know about heading structure, from basic hierarchy rules to advanced optimization techniques.

The H1-H6 Hierarchy: A Complete Specification

HTML provides six heading levels: H1 through H6. Each level represents a level of importance in the document outline. The hierarchy is not just a styling convention; it is a semantic structure that browsers, search engines, and assistive technologies use to understand content relationships.

H1: The Page Title

The H1 is the most prominent heading on the page. It should describe the primary topic of the entire page. Every page should have exactly one H1 (though Google has confirmed multiple H1s are not penalized, one remains best practice). The H1 should be the first heading users encounter and should clearly communicate what the page is about.

From an SEO perspective, the H1 carries the most weight of any heading. It should contain your primary keyword naturally. Think of it as the headline of a newspaper article: it needs to be accurate, compelling, and descriptive.

H2: Major Sections

H2 headings divide the page into major sections. Each H2 represents a distinct subtopic of the main H1 topic. A well-structured article typically has 3 to 8 H2 headings, depending on length. Each H2 should be descriptive enough that a reader scanning only the H2s would understand the page's scope and organization.

For SEO, H2 headings are prime locations for secondary keywords and related terms. Google uses H2 content to understand the breadth of a page's topic coverage. Pages that thoroughly cover a topic with well-structured H2 sections tend to perform better for a wider range of related queries.

H3: Subsections

H3 headings provide additional detail within an H2 section. They are used when a major section has multiple distinct points that benefit from their own labels. Not every H2 needs H3s underneath, but complex sections often do.

H3 headings are also valuable for featured snippets. Google frequently pulls H3 content for "People Also Ask" boxes and list-style featured snippets. Making your H3s clear and concise increases the chances of being featured.

H4-H6: Deep Nesting

H4, H5, and H6 headings are used for deeply nested content. They are relatively rare on most web pages. You might use H4s in a comprehensive technical document, a long-form research paper, or a detailed product specification. Most blog posts and landing pages do not need headings below H3.

The key rule at every level: do not skip levels. An H4 must be nested under an H3, which must be under an H2, which must be under an H1. Skipping from H2 to H4 creates a broken document outline.

Common Heading Mistakes (And How to Fix Them)

Mistake 1: Multiple H1 Tags

Many CMS themes and page builders create an H1 for the site logo and another for the page title. This creates two competing "main topics" on the page. The fix: make the logo a span or paragraph element, and reserve H1 for the page content title only.

Mistake 2: Skipping Heading Levels

Going from H2 directly to H4 (skipping H3) breaks the document outline. Screen readers announce heading levels to help users navigate, and skipped levels create confusion. The fix: always use headings in sequential order. If you need a heading between H2 and H4, use H3.

Mistake 3: Using Headings for Styling Only

Some developers use heading tags because they want bold, large text, not because the content is structurally a heading. This is especially common with H5 and H6 tags used for captions or labels. The fix: use CSS for styling and heading tags only for actual content sections. Use <strong>, <span>, or CSS classes for styled text that is not a section heading.

Mistake 4: Empty Headings or Image-Only Headings

An H2 that contains only an image (like a decorative divider or icon) with no text is semantically meaningless. Screen readers will announce an empty heading, which is confusing. The fix: add descriptive alt text to heading images, or use CSS pseudo-elements for decorative elements instead of empty heading tags.

Mistake 5: Keyword Stuffing in Headings

Headings like "Best Running Shoes | Buy Running Shoes | Running Shoes 2026" hurt readability and can trigger Google's spam filters. The fix: write natural, descriptive headings that include keywords where they fit organically. One keyword per heading is sufficient.

What Google Says About Headings

Google's John Mueller has addressed heading structure in multiple webmaster hangouts and Reddit AMAs. Here are the key takeaways directly from Google:

Despite Google's reassurance that heading errors will not tank your rankings, proper heading structure still matters for three reasons: it improves crawlability and indexation, it enhances accessibility compliance, and it increases the likelihood of earning featured snippets and rich results.

Best Practices for Heading Optimization

1. Write Headings for Scanners First

Most web users do not read content top to bottom. They scan headings to find the sections relevant to them. Make each heading descriptive enough to stand alone. Someone reading only your H2s should be able to understand the page's main points.

2. Include Keywords Naturally

Place your primary keyword in the H1. Distribute secondary keywords across H2 and H3 headings. Use variations and synonyms rather than repeating the exact same keyword. This signals topical depth without triggering keyword stuffing penalties.

3. Keep Headings Concise

Ideal heading length is 4 to 10 words. Headings that are too short lack context. Headings that are too long read like sentences and lose their scannability. Aim for a sweet spot that communicates the section's topic in a single glance.

4. Use Parallel Structure

When multiple H2 headings cover similar types of content, use parallel grammatical structure. If one H2 starts with a verb ("Choosing the Right Widget"), the others should too ("Installing Your Widget", "Maintaining Your Widget"). This consistency improves readability and professionalism.

5. Test with a Heading Analyzer

Before publishing any page, run it through a heading analyzer. The tool will flag missing H1s, skipped levels, overly long headings, and keyword issues. Catching these problems before publication is far easier than fixing them after Google has already indexed the page.

Try the Heading Analyzer Tool →

Heading Structure for Different Page Types

The optimal heading structure varies by page type. Here are recommendations for the most common formats:

Blog posts: One H1 with the post title, 4-8 H2s for major sections, H3s for detailed subsections. FAQ sections typically use H2 with questions as the text.

Product pages: One H1 with the product name, H2 for sections like "Features," "Specifications," "Reviews," and "Related Products." Keep the structure simple and focused on conversion-relevant information.

Landing pages: One H1 with the value proposition, H2s for each section of the page (problem, solution, social proof, pricing, CTA). Minimize deep nesting to keep the page scannable.

Documentation: One H1 per document, H2s for chapters, H3s for sub-sections, and H4s for specific procedures. Technical docs often benefit from the deepest heading hierarchies.

Frequently Asked Questions

How many H1 tags should a page have?Google has confirmed that using multiple H1 tags on a page is fine and does not cause ranking issues. However, SEO best practice still recommends a single H1 per page because it provides a clear, singular topic signal. Think of the H1 as the page's headline.
Does heading structure affect SEO rankings?Heading structure is a moderate SEO ranking factor. While Google has stated it is not among the top three ranking signals, properly structured headings help search engines understand your content hierarchy and can improve featured snippet eligibility. Good headings also improve user experience, which indirectly affects engagement metrics that do influence rankings.
What is the correct heading hierarchy?The correct hierarchy follows a strict nesting order. Start with one H1 for the main title. Use H2 for major sections. Use H3 for subsections under an H2. Use H4 for sub-subsections under an H3, and so on. Never skip levels. Each heading level should represent a logical subtopic of the level above it.
Can I skip heading levels like going from H2 to H4?Technically, browsers and search engines will render skipped heading levels without errors. However, skipping levels violates HTML accessibility guidelines (WCAG) and creates a confusing document outline. Screen readers use heading levels for navigation, and skipping levels makes this disorienting. Always follow the sequential hierarchy.
Should I include keywords in headings?Yes, include your target keywords in headings naturally. The H1 should contain the primary keyword. H2 and H3 headings should include secondary keywords and related terms. Avoid keyword stuffing. Headings should be written for humans first. A heading like "Best Running Shoes 2026" is better than a stuffed alternative.

Related Articles