Skip to content

/ Free AI Tool

Heading Hierarchy Analyzer

Enter a URL — the tool extracts all H1-H6 tags on the page in DOM order, draws a visual heading tree, and reports structural issues like missing H1s, skipped levels, and empty headings.

How It Works

01

Enter URL

Paste the URL of the page you want to analyze.

02

Outline Is Extracted

The page is fetched; all H1-H6 tags in the body are listed as a visual heading tree by DOM order and level.

03

Structural Warnings

Missing H1, multiple H1s, skipped levels (like H1 → H3), and empty headings are automatically detected.

About This Tool

Why use this tool?

The Heading Hierarchy Analyzer extracts all H1-H6 tags on a page in DOM order, draws a visual outline, and automatically detects structural issues like missing H1s, skipped levels, and empty headings. Heading structure isn't just for SEO — it's a critical accessibility component for screen reader users navigating a page.

Google uses headings to understand the topical hierarchy of content; well-structured headings that follow semantic HTML rules are a key factor in Featured Snippet and AI Overview source selection. Screen readers navigate by jumping between H levels — an incorrect hierarchy directly affects WCAG 2.1 compliance.

In practice, CMSs (WordPress, Shopify, Webflow) often assign headings incorrectly at the theme/template level: the logo becomes an H1, a sidebar title overshadows the page's main H1, or a block skips H2 and continues from H4. This tool lets you spot these structural errors at a glance.

In-Depth Guide

How do you get the most out of this tool?

What Is It?

Heading Hierarchy Rules

Heading hierarchy is a tree structure: H1 is the root, H2s are the main branches, H3s are the sub-branches. As a general rule, a page should have a single H1, H2s should carry parallel subtopics at the same level, and H3-H6 should be used sequentially beneath them.

Levels should never be skipped — jumping from H1 straight to H3 is a mistake both for semantic HTML and for accessibility. In that case, a screen reader signals 'a heading level is missing,' breaking the user's mental map of the page.

  • Generally 1 H1 per page (the page's main topic)
  • 2+ H2s beneath the H1 (main sections)
  • As many H3s as needed under each H2 (subsections)
  • No skipping: the H1 → H2 → H3 order stays intact
  • Headings exist for semantic structure, not for design

How To

The Multiple-H1 Debate (HTML5 vs. SEO Practice)

Under the HTML5 spec, each <section> and <article> can technically have its own H1, so multiple H1s per page are technically valid. However, browsers and search engines never fully implemented this "outline algorithm," and even the W3C stopped recommending this approach in 2022.

The practical SEO recommendation is clear: one H1 per page. This H1 should express the page's main topic in a clear sentence and include the target keyword. Multiple H1s make it harder for Google to understand which topic is primary, and create confusion for screen reader users.

Why It Matters

Common CMS Problems (WordPress, Shopify)

CMS themes often assign headings with design in mind, breaking the semantic structure. The most common issues are the logo or site name being marked as H1, sidebar widget titles mixing in as H2/H3 with the main content flow, and a blog post template outputting the page title as H2.

  • WordPress: the logo or site title is marked as <h1> — fix the theme's header.php
  • WordPress: widget titles come out as H2, disrupting the content flow — drop widget headings to H4-H5
  • Shopify: the product template makes the collection name H1 and the product name H2 — swap them
  • Webflow/Wix: drag-and-drop blocks assign headings automatically — manual review is essential
  • Page builders (Elementor, Divi): can generate multiple H1s on the same page — check the heading level of every block

↕ Scroll up / down to read every section.

Who It's For

Is this tool right for you?

  • SEO specialists — page optimization and technical audits
  • Frontend developers — semantic HTML validation
  • Accessibility (a11y) specialists — WCAG heading hierarchy checks
  • Content editors — organizing subheading structure in long articles
  • UX researchers — analyzing a page's reading flow

Pro Tips

How the experts use it

  • Make your H1 a headline that includes the target keyword and summarizes the page in one sentence — it doesn't need to be identical to the title tag, but should be close
  • In long blog posts, write your H2s in "Featured Snippet question" format — questions like "What is a canonical tag?" are often selected for Google AI Overview
  • Don't use headings just to get bigger text — if you want large text, use <p class="text-3xl"> instead of <h2>
  • Design systems (Tailwind, MUI) sometimes default Heading components to the wrong level — audit the outline on every page
  • In single-page apps (SPAs), make sure the H1 updates on route change — otherwise every page carries the same H1

What To Watch For

Common mistakes and how to fix them

  • Mistake

    Assigning H1 to the logo or site name

    Fix

    Wrap the logo in a div or <a>; reserve H1 for each page's own main headline. On the homepage, H1 can be the headline carrying the site's value proposition.

  • Mistake

    Skipping levels (H1 → H3)

    Fix

    Fill in the missing level; H2 must always come right after H1. If you want a "small heading" for design purposes, shrink the correctly-leveled heading with CSS instead.

  • Mistake

    Using headings for design purposes (large text)

    Fix

    Headings are semantic tags, not visual ones. Use <p> + a utility class for large text. Headings should only express content hierarchy.

Frequently Asked

Questions people ask about this tool

  • How many H1s should a page have?

    The practical SEO recommendation is a single H1. Even though the HTML5 spec theoretically allows more, Google and screen readers interpret the single-H1 scenario better. Use one H1 that summarizes the page's main topic.

  • Can I use H4 after an H2?

    No, skipping levels is a mistake. H3 should come after H2, then H4. Skipping violates both semantic HTML rules and accessibility requirements. A screen reader will flag "a level is missing."

  • Do headings affect Google rankings?

    They aren't a strong direct ranking factor on their own, but Google uses headings to understand content hierarchy. Well-structured headings significantly increase your odds of being selected for Featured Snippets, AI Overview, and sitelinks.

  • Should H1 be identical to the title tag?

    They don't need to be identical, but should be close. The title tag appears in the SERP, while H1 appears on the page itself. Both should consistently reflect the same keyword, but H1 can be a more natural, readable sentence.

  • Are empty heading tags a problem?

    Yes. Headings with no content, like <h2></h2>, are confusing for both screen readers and browsers. They usually stem from CMS template bugs — always clean them up or change the tag level.

SEO Panel Plans

All Tools, One Platform

Backlink analysis, organic search tracking and competitor monitoring — in our own panel, backed by expert interpretation and consulting support.

Basic

$19/mo · USD

Billed monthly · Cancel anytime

A core toolset for those getting started with SEO tracking.

1 Project30 Queries/DayCore SEO Tools

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool(Limited)
  • Site Audit(Limited)
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Basic
Most Popular

Pro

$39/mo · USD

Billed monthly · Cancel anytime

Full access to all SEO tools. The best fit for growing brands.

3 Projects200 Queries/DayFull Access

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Pro

Enterprise

$79/mo · USD

Billed monthly · Cancel anytime

Unlimited projects and full VIP support for agencies and large brands.

Unlimited ProjectsUnlimited QueriesVIP Support

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
  • Priority Support
  • Dedicated Consultant
Start with Enterprise

Monthly plans are re-billed every month. You can cancel anytime. Contact us for custom pricing.