Free Heading Structure Analyzer

Paste your HTML or markdown and instantly see your H1-H6 hierarchy. Catch missing H1s, skipped levels, and empty headings. Free, no sign-up required.

Analyze Your Heading Structure

Accepts raw HTML with h1-h6 tags, or markdown with # heading syntax.

Explore More Free SEO Tools

More free tools to optimize every element of your pages.

How It Works

How to use this free heading structure analyzer

No account needed, no sign-up required. Completely free. Paste your HTML or markdown and get a full heading hierarchy analysis in seconds.

1

Paste your HTML or markdown

Copy your full page HTML or markdown text and paste it into the input area. The tool works with both raw HTML using h1-h6 tags and markdown using # through ###### heading syntax.

2

Click Analyze

The tool instantly extracts all headings, builds your heading tree, and checks for four common issues: missing H1, multiple H1 tags, skipped heading levels, and empty headings. No sign-up required.

3

Review and fix your structure

See a visual tree of your heading hierarchy with any issues highlighted. Each issue includes a clear description of what is wrong and how to fix it. Status is Good (zero issues), Fair (1-2 issues), or Poor (3 or more issues).

The Rules

How heading structure analysis works

This free analyzer checks four structural rules on every analysis. Here is exactly what is checked and why each rule matters for your SEO.

Issue Scoring

0 issues = Good  |  1-2 issues = Fair  |  3+ issues = Poor

Checks: Missing H1, Multiple H1s, Skipped levels, Empty headings

The analyzer first extracts all heading tags from your HTML or markdown. It builds a sequential list of headings in the order they appear in your content, then runs four checks.

The missing H1 check counts how many H1 tags are present. Zero H1 tags triggers an issue. Multiple H1 tags trigger a separate issue. Either way, your page should have exactly one.

The skipped levels check walks through your heading list in order and compares each heading level to the previous one. If the next heading is more than one level deeper, a skipped level issue is flagged with the heading text so you can find it quickly.

Status is calculated from the total issue count. Zero issues earns Good. One or two issues earns Fair. Three or more earns Poor. Fix the issues in order of severity: missing H1 first, skipped levels second, empty headings last.

Heading SEO Rules

Six heading rules every SEO-optimized page must follow

Use this reference when writing new content or auditing existing pages for heading structure issues.

RuleImportanceWhy It Matters
One H1 per pageCriticalYour H1 is the top-level topic signal. Multiple H1s confuse crawlers. Missing H1 wastes your most important heading tag.
Sequential hierarchyHighNever skip levels. H1 to H3 without H2 breaks the document outline. Maintain H1 > H2 > H3 order.
Keyword in H1HighYour primary target keyword should appear in the H1. This is one of the strongest on-page ranking signals.
Keywords in H2 headingsMediumPlace secondary keywords and related terms in H2 headings. This expands topical coverage and helps rankings for related queries.
No empty headingsMediumEmpty heading tags are invisible to users but confuse screen readers and add junk signals to crawlers.
Descriptive heading textMediumHeadings like "Section 1" add no SEO value. Write headings that describe the content and include relevant terms.

Sources: Google Search Central, Moz On-Page SEO Guide, 2026.

Heading Structure by Content Type

Recommended heading patterns for each content format

Different page types call for different heading depths and patterns. Use these templates as a baseline for your content outlines.

Content TypeH1H2H3Notes
Blog post13-62-4 per H2H1 matches the post title. H2 defines each main section. H3 breaks down subsections within each H2.
Product page12-41-3 per H2H1 is the product name. H2 covers features, specs, reviews. H3 organizes detail within each section.
Landing page13-5OptionalH1 states the value proposition. H2 covers each benefit or feature. H3 adds supporting detail.
FAQ page11-3One per questionH1 names the FAQ topic. H2 groups questions by theme. H3 is each individual question.
Category page11-2OptionalH1 is the category name. H2 introduces subcategories or filters. Avoid over-structuring short pages.
Pillar content16-123-6 per H2Long-form content requires deep hierarchy. H2 covers major subtopics. H3 and H4 add granular sections.

Benchmarks based on top-ranking pages and SEO content analysis, 2026.

What Kills Your Heading Strategy

Six heading mistakes that hurt your SEO and accessibility

These mistakes appear on millions of pages. Most are easy to fix once you know what to look for.

🔴

Missing H1 tag

A page without an H1 is like a document without a title. Search engines use the H1 to understand what the entire page is about. Without it, you are leaving the most important heading signal completely unused. Every page needs exactly one H1.

H1 is the strongest single on-page keyword signal
🔁

Multiple H1 tags

Using two or more H1 tags dilutes your topical focus and confuses search engine crawlers about which heading defines the page. This often happens when page templates apply H1 styling to multiple sections for visual reasons. Use a single H1 and style other headings with CSS instead.

One H1 per page, always
⏭️

Skipping heading levels

Jumping from H1 directly to H3, or H2 to H4, breaks the document outline that both search engines and accessibility tools rely on. Screen readers navigate pages by heading level. Search engines use heading hierarchy to understand content organization. Always move one level at a time.

Maintain sequential H1 > H2 > H3 order
📭

Generic or keyword-free headings

Headings like "Introduction," "Overview," or "Section 2" are visible to crawlers but contribute nothing to keyword relevance. Every heading is an opportunity to include your target keyword or a related term. Rewrite generic headings to be descriptive and topically relevant.

Every heading should include a keyword or related term
🎨

Using headings for visual styling only

Applying H1 or H2 tags purely for font size or visual impact, rather than to define content hierarchy, corrupts your page outline. Use CSS classes and styled components to control font size and weight. Reserve heading tags for actual content structure and hierarchy.

Never use heading tags as styling shortcuts
📋

Duplicating H1 in the page title tag

Your H1 and your meta title tag can be similar but do not need to be identical. The meta title is optimized for search result click-through. The H1 is optimized for on-page reading experience. A slight variation lets you target different keyword phrasings without duplication issues.

H1 and meta title can differ slightly for dual optimization

Optimize Your Heading Structure

8 tips to build SEO-optimized heading hierarchies

These strategies help you use headings to drive both search visibility and reader engagement. All CommonNinja widgets are free to start.

01

Write your H1 around your primary keyword

Your H1 should include your exact target keyword in a natural, readable sentence or phrase. Search engines weight the H1 heavily for topical relevance. Place the keyword near the beginning of the H1 for maximum impact. Avoid stuffing multiple keywords into a single H1.

02

Map your content outline before writing

Plan your heading hierarchy before you write. Sketch out H1, H2, and H3 levels with target keywords before drafting content. This prevents structural problems and ensures every section has a clear purpose. A pre-planned outline produces cleaner heading hierarchies than headings added during editing.

03

Add keyword-rich FAQ sections with accordions

FAQ accordions naturally use H3 headings for each question. Each question becomes a heading that search engines index, expanding your keyword coverage beyond your main headings. Accordion-organized FAQs also qualify for FAQ schema markup, which can generate rich results in Google.

Try Accordion widget
04

Organize multi-topic pages with tab headings

Tab widgets let you present separate content blocks, each with its own subheadings, under a single URL. This keeps your page heading hierarchy clean while expanding the depth of structured content available to both readers and search engines.

Try Tabs widget
05

Use comparison table headers for feature keywords

HTML table headers are semantically meaningful to search engines. Comparison table widgets create structured, header-rich content that reinforces your page keywords in a format that also earns featured snippets for product comparison queries.

Try Comparison Tables widget
06

Build fresh heading structure with content feeds

Dynamic content feed widgets add new H2 and H3-level content to your pages on a regular schedule. New heading-organized content gives search engines a reason to crawl your page more frequently and expands the keyword signals your page sends over time.

Try Feeds widget
07

Test your heading structure after every major edit

Content migrations, design changes, and CMS updates often introduce heading regressions. An H1 can accidentally be deleted or duplicated during template changes. Run this free heading analyzer after every significant content edit or template update to catch issues before they affect rankings.

08

Audit heading structure across your entire site

Single-page heading checks are useful, but site-wide audits reveal patterns. Use Screaming Frog or Google Search Console to identify pages with missing H1s or multiple H1s across your whole site. Fix the highest-traffic pages first for the fastest SEO impact.

SEO and Accessibility Glossary

Key heading and document structure terms explained

Heading structure connects SEO, accessibility, and semantic HTML. Here is how the key concepts relate and when each matters most.

TermDefinitionFormatWhen to Use
Document OutlineThe hierarchical structure of a web page formed by its heading tags. A correct document outline flows from H1 to H2 to H3 without skipping levels, creating a readable table of contents for both bots and screen readers.H1 > H2 > H3 > H4 > H5 > H6Evaluating the structural integrity of any web page
Semantic HTMLHTML that uses tags according to their meaning, not just their visual appearance. Using H1-H6 for content hierarchy (not font sizing) is a core principle of semantic HTML. Search engines score pages higher for correct semantic structure.Correct tag usage for meaning, not styleWriting or auditing any HTML page for SEO and accessibility
Heading ProminenceA measure of how early and how often a keyword appears in headings relative to the rest of the page. Keywords in H1 have the highest prominence. Keywords in H2-H3 have secondary prominence.Heading level x keyword positionEvaluating keyword placement strategy across a page
Accessibility (WCAG)Web Content Accessibility Guidelines require proper heading structure so screen readers can navigate pages by heading level. Skipped heading levels and multiple H1 tags violate WCAG 2.4.6, which mandates descriptive and hierarchical headings.WCAG 2.4.6 Headings and LabelsBuilding accessible pages that also rank well in search
Featured SnippetA highlighted search result that appears above organic listings, often pulled from a heading and the content immediately following it. Well-structured H2 and H3 headings that directly answer questions are strong featured snippet candidates.Heading + following paragraph = snippet candidateTargeting position zero in Google search results

FAQ

Search engines use headings to understand the structure and hierarchy of your page content. A clear H1 tells Google the primary topic. H2 headings define the main sections. H3-H6 headings organize subtopics. A well-structured heading hierarchy helps search engines parse your content accurately and can improve your rankings for target keywords.
Yes. Every page should have exactly one H1 tag. The H1 is your page title and the strongest heading signal for search engines. Multiple H1 tags confuse crawlers about your page topic. Missing H1 tags leave a major SEO signal unused. This free heading analyzer checks for both issues automatically.
Skipped heading levels happen when you jump from H1 directly to H3 without an H2 in between, for example. This breaks the document outline that search engines and screen readers rely on. It can reduce content comprehension for both bots and accessibility tools. Maintain a logical, sequential heading hierarchy from H1 through H6.
Yes. You can paste either raw HTML containing heading tags like H1 through H6, or plain text where headings are prefixed with pound signs like # H1, ## H2, and so on. The tool extracts all headings from both formats automatically.
The tool assigns a status based on the number of issues found. Zero issues earns a Good status, meaning your heading structure is clean. One or two issues earns a Fair status, meaning minor fixes are needed. Three or more issues earns a Poor status, meaning significant structural problems exist that should be corrected.
Yes, completely free. No account, no sign-up, no limits. Paste your content and get your heading analysis instantly.
There is no fixed rule for the number of H2 headings. Use as many H2 tags as you have major sections on the page. For a typical blog post of 1,500 words, 3 to 6 H2 headings is a reasonable range. Each H2 should cover a distinct subtopic that supports your main H1 keyword theme.

Trusted by