Skip to main content
SerpGem
Content & Writing

Article Outline Extractor

Paste any page HTML to extract the complete H1–H6 heading hierarchy as a nested markdown outline. Instantly see how any page is structured — useful for competitive research and content planning.

InputPage HTML
OutputHeading outline

Use this with

See all 6 tools

Outline Guide

Content outlines: steal what works before writing a word

A content outline is the skeleton of an article — the H1, H2, and H3 structure that determines how comprehensively a page covers a topic. Top-ranking pages almost always have well-structured heading hierarchies that map to how searchers think about a topic. Extracting and studying those outlines before writing your own content compresses research time from hours to minutes.

Why outlines predict rankings

Google's algorithm evaluates topical completeness — does the page cover the full scope of the searcher's intent? A well-structured outline with logical H2 sections and supporting H3 subtopics signals comprehensive coverage. Pages with shallow outlines (one H1, no H2s) are typically outranked by pages that have modular, logically organized sections.

H2s: the money headings

H2 subheadings are the primary topic sections of an article. Each H2 should represent a distinct subtopic that a searcher might independently care about. For a page about 'email marketing', H2s might be 'Building Your List', 'Writing Subject Lines', 'Segmentation'. These map directly to the different questions searchers have.

H3s: the depth signal

H3 headings under each H2 show that the page goes into depth on each subtopic — not just naming it but exploring it. Pages with H3 depth under their H2s consistently outperform pages with H2s and no H3s, because the H3 structure signals genuine expertise rather than surface-level coverage.

Reverse-engineering competitor structure

Find the top 3-5 ranking pages for your target keyword. Extract each one's outline here. Compare: what H2 sections appear across multiple pages? Those are the must-have sections — the non-negotiable coverage areas that Google expects any comprehensive page on this topic to cover.

Template creation from outlines

Paste your extracted outline into a Google Doc or Notion template. Use the H2s as your main content sections. This gives your writers a proven structural framework — they fill in the content but the high-level architecture is informed by what already ranks.

The outline gap: what competitors miss

Just as important as what top-ranking pages cover is what they don't cover. If all top competitors have the same 5 H2 sections but none covers a related question, that's your differentiation opportunity. Add a section none of them have — Google may reward fresh topical coverage.

Pro Tips

Use View Source, not DevTools copy

For static pages (most blogs), use Ctrl+U to view page source, then Ctrl+A and Ctrl+C. This gives you the server-rendered HTML with all headings. For JavaScript-rendered pages (React/Next.js apps), use DevTools → Elements → Copy outerHTML instead.

Compare 3 competitors at once

Extract the outline from your top 3 competitors, then look for patterns. H2 sections that appear in all 3 are non-negotiable. H2 sections appearing in only 1 competitor may represent their unique angle — consider whether it's worth adopting.

Export as markdown for your CMS

The markdown outline export is directly usable in most CMSes and writing tools (Notion, Ghost, WordPress Gutenberg in markdown mode). Copy the outline, paste into your draft, and use it as the skeleton for your new article.

?

Frequently Asked Questions

What if the page uses JavaScript-rendered headings?
Headings rendered by JavaScript won't appear in the static HTML from View Source. Use Chrome DevTools → Elements → right-click the <body> element → Copy → Copy outerHTML to get the rendered DOM. Paste that HTML here and all JS-rendered headings will be captured.
What does the nested outline view show?
The nested outline shows the hierarchical relationship between headings — H2s are nested under H1s, H3s are nested under H2s. This reveals the page's logical structure. A flat list of all H2s and H3s together would obscure which H3s belong to which H2 sections.
Can I use this to audit my own site structure?
Yes — paste your own page HTML to verify your heading hierarchy is logical and complete. Check: is there exactly one H1? Do H2s represent distinct major sections? Are H3s logically nested under the correct H2? This is a quick structural audit you can run on any page.
How do I export the outline?
Use the 'Copy Markdown' button to copy the full outline in markdown format. Paste it into Notion, Google Docs (markdown mode), Obsidian, or any writing tool. The format uses # heading syntax that most tools render correctly.