> headings --extract h1-h6

Free H1 Checker and Headings Extractor

See the full H1 to H6 outline of any page as a clear tree. Find missing or extra H1s, skipped levels, empty and duplicate headings, then copy the outline or export it to CSV.

Not rated yet · Built and tested by the SpellMistake team · Your data stays private
AT A GLANCE
  • What it doesExtracts and checks H1 to H6 headings
  • AccuracyExact, reads the real HTML
  • Works withAny public URL or pasted HTML
  • PriceFree, no sign-up, no limit
  • Last reviewed
> define

What Is a Headings Extractor?

Short answer
A headings extractor is a tool that pulls every heading, from H1 to H6, out of a web page and shows them in order. It works as an H1 checker too: it tells you if the page is missing an H1, has more than one, or skips levels, so you can fix the page structure.

Headings are the outline of your page. They help readers scan, help screen readers move around, and help Google understand what each section is about. A clear structure has one H1 that says what the page is about, H2s for the main sections and H3s for the points inside them. This tool shows the real structure of the page, which is often different from what you see in your editor.

Quick facts
> how --to

How to Use the Headings Extractor

Check any page’s headings in seconds.
01

Enter a URL or paste HTML

Use any public page URL, or paste HTML from a draft.
02

Run the check

The tool reads the page and pulls out every heading tag.
03

See the outline

Headings show as an indented tree, so the structure is easy to read.
04

Fix the issues

Follow the checks: one H1, no skipped levels, no empty or repeated headings.
05

Copy or export

Copy the outline for a content brief, or export it as CSV.

A good heading structure

  • One H1 that says what the page is about, with your main keyword.
  • H2s for each main section.
  • H3s for points inside an H2 section.
  • Do not jump levels just to change text size. Use CSS for size.
  • Write headings that make sense on their own, like questions people ask.
Ready to try it? It is free and takes less than a minute.
> ls ./guide

Heading Checks Explained

What each check means and how to fix it.
CheckProblemFix
No H1The page has no main headingAdd one H1 that says what the page is about
More than one H1The main topic is unclearKeep one H1, change the others to H2
H1 not firstMenu or sidebar headings come before itChange menu and sidebar headings to plain text
Skipped levelFor example H2 straight to H4Keep levels in order
Empty headingA heading tag with no textRemove it or add text
Duplicate headingTwo sections with the same titleMake each heading unique
Google says multiple H1s are not a problem for ranking. One H1 is still the clearest for readers and accessibility.
> cat methodology.md

How the Headings Extractor Works

Here is how the extractor reads a page’s headings.
  1. 01

    The page is loaded

    Our server fetches the public page, or the tool reads the HTML you paste.

    Our server or your browser
  2. 02

    Headings are found

    Every h1 to h6 tag is pulled out in the order it appears in the HTML.

    In your browser
  3. 03

    Text is cleaned

    Extra spaces are removed and hidden text inside the tag is kept, just as crawlers read it.

    In your browser
  4. 04

    A tree is built

    Each heading is placed under the last heading of a higher level.

    In your browser
  5. 05

    Checks run

    H1 count, H1 position, skipped levels, empty and duplicate headings are checked.

    In your browser

Rules Behind the Checks

The checks follow HTML and accessibility guidance.
  • The HTML standard defines h1 as the most important heading and h6 as the least.
  • WCAG accessibility guidance says headings should describe the content and follow a logical order.
  • Google reads headings to understand the topics on a page.
  • The tool reads the HTML source. Headings added later by JavaScript may not show.
> test --report

Is the Headings Extractor Accurate?

Yes. The tool reads the actual HTML of the page and lists every heading tag exactly as it appears, in the right order.
Exact
accuracy level
every heading tag
HTML
what results are based on
the page source
Monthly
full re-test
against known answers
24/7
bug reports open
fixed as high priority
What we test every month

Accuracy in plain words

Results are exact for the HTML the server returns. If your site adds headings with JavaScript after the page loads, those may not appear. Pages that block bots can also return different HTML.

Keep in mind
Good headings help, but they are one part of on-page SEO. Content quality and search intent matter most.
> features

Features of the Headings Extractor

Everything you need to check and fix a page’s structure.

Outline tree

See H1 to H6 as an indented tree.

H1 checker

Finds missing, extra and misplaced H1s.

Level checks

Flags skipped heading levels.

Duplicates and empties

Finds repeated and empty headings.

URL or HTML

Check live pages or drafts.

Copy and CSV

Use the outline in briefs and audits.

> limits --honest

Limitations of This Tool

No tool does everything. Here is what this one does not do, and what you should do yourself.
What the tool cannot do
What you should do
> whoami

Who Can Use This Headings Extractor?

Anyone who writes or optimizes web pages.

Content writers

Check that your outline matches the published page.

SEO specialists

Audit heading structure and copy competitor outlines.

Developers

Find theme headings that break the outline.

Accessibility testers

Check that headings follow a logical order.

> git log

Updates, Bug Fixes and Reviews

We test this tool every month and fix reported bugs as a high priority. Every change is listed here.
Oct 2026

Headings Extractor launched

First release with the outline tree, H1 checks, level, empty and duplicate checks, copy and CSV export.

Launch
Every month

Full re-test and rules review

We run the tool against our test cases again and check HTML, WCAG and Google guidance on headings for changes.

Monthly

Tool page last reviewed on .

Found a bug or a wrong result?

Tell us what you entered, what happened and what you expected. Our developer checks every report, fixes confirmed bugs as a high priority and tests the fix before it goes live.

> git blame

Who Built and Reviewed This Tool

The SpellMistake team built this tool from our own daily SEO work and official rules.
H
Built and tested by

Hassan

Senior Web Developer, 4+ years
Built the extractor, the outline tree and the checks.
MA
Reviewed by

Muhammad Ahtesham

SEO Strategist and Founder, 4+ years
Checked the heading rules against Google and accessibility guidance.
A
Guide and help text

Afza

Marketing Expert and Co-founder, 4+ years
Made the labels, tips and this guide simple and easy to follow.

Our standards

This page follows our Editorial Policy and Methodology. If something here is wrong, our Corrections Policy explains how we fix it. Learn more about the SpellMistake team.

> rate --tool

Ratings From Real Users

Did this tool help you? Your rating helps other people find a tool they can trust.
0.0out of 5

No ratings yet. Be the first to rate this tool.

  • 5 ★0
  • 4 ★0
  • 3 ★0
  • 2 ★0
  • 1 ★0

Rate this tool

How useful was the Headings Extractor for you?

Ratings come from real visitors. One rating per person. We never add, edit or remove ratings.

> faq

Headings Extractor FAQ

Quick answers to the questions people ask most about this tool.

What is an H1 checker?

An H1 checker is a tool that finds the H1 heading on a page and tells you if it is missing, repeated or not the first heading.

Is this headings extractor free?

Yes. It is 100% free, with no sign-up and no limits.

Can a page have more than one H1?

Google says it is not a problem for ranking. But one H1 is clearer for readers and screen readers, so it is still the best choice.

Do headings help SEO?

Yes. Clear headings help Google understand the topics on your page and help readers scan, which can improve how long they stay.

What does a skipped heading level mean?

It means a heading jumps down more than one level, like H2 straight to H4. Keep levels in order for a clear structure.

Why does the tool show headings from my menu?

Some themes use heading tags in menus, sidebars and footers. Change those to plain text so your content headings stand out.

Can I check a competitor's headings?

Yes. Enter any public URL to see its full outline. It is a quick way to plan your own content.

Want every page optimized for you?
Our on-page SEO team fixes titles, meta tags, headings and content on every important page of your site.