What is a headings extractor?
A headings extractor is a tool that analyzes the structure of titles (H1, H2, H3, H4, H5, H6) on a web page and presents them in hierarchical form. Heading tags form the backbone of your content: they define the logical structure of the page, guide visitor reading, and help search engines understand the organization and topic of your content.
Our free headings extractor lets you instantly visualize the complete heading hierarchy of any web page. It detects common structural errors: missing or multiple H1s, skipped heading levels (jumping from H2 to H4 without H3), empty or overly long titles, and imbalances in structure depth.
A good heading structure is like a book’s table of contents: it should be logical, progressive, and allow readers to understand the overall page content by scanning only the titles. Search engines use this same logic to interpret your content.
How to use the Twaino headings extractor?
Extracting and analyzing headings takes just a few seconds:
Step 1: Enter the URL of the page to analyze in the provided field. The tool works with all public web pages, including those of your competitors.
Step 2: Launch the extraction. The tool scans the page’s source code and identifies all heading tags (H1 to H6) in their order of appearance.
Step 3: View the heading hierarchy presented as an indented tree structure. Each heading level is clearly identified by its tag (H1, H2, H3…) and its text content.
Step 4: Examine the alerts and recommendations. The tool automatically flags structural problems: missing or duplicate H1, skipped levels, empty titles, unbalanced or overly deep structure.
Use this tool to audit your own pages before publishing, analyze the structure of well-ranked competitor pages, and verify that your writers follow content structuring best practices.
Why is heading structure important for SEO?
Heading tags are among the most important on-page elements for natural search ranking:
Content understanding by Google: Google uses headings to understand the thematic structure of your page. Keywords present in H1, H2, and H3 have higher semantic weight than those in body text. A well-optimized heading structure helps Google identify the main and secondary topics of your page, improving its relevance for targeted queries.
Featured snippets and position zero: Google frequently extracts content structured by headings to create featured snippets (position zero excerpts). Lists and paragraphs introduced by clear, interrogative headings (starting with “How”, “Why”, “What is”) have significantly better chances of being selected for these privileged positions in search results.
Accessibility and user experience: Headings are essential for web accessibility. Screen readers use the heading hierarchy to allow visually impaired users to navigate content. An accessible site is one that offers a better experience to all users, which Google values in its ranking criteria.
Bounce rate and engagement: Visitors scan web pages before reading them in detail. Clear and descriptive headings allow users to quickly find the information they’re looking for, reducing bounce rate and increasing time on page — two positive signals for SEO.
Best practices for structuring your headings
One H1 per page: The H1 is your page’s main title and must be unique. It should contain your primary keyword and summarize the page’s topic in one clear sentence. The H1 is typically the most visible title on the page.
Respect the hierarchy: Headings should follow a logical order: H1 > H2 > H3 > H4. Never skip a level (no H2 directly followed by H4). This hierarchy helps both readers and search engines understand content structure.
Use headings for content, not styling: Never choose a heading level for its font size. If you want larger text, use CSS. Headings should reflect only the logical structure of content.
Integrate keywords naturally: Include your target keywords in headings, but naturally and readably. Avoid keyword stuffing that makes titles artificial and harms readability.
FAQ
How many H2 headings should a page have?
There’s no fixed number, but a standard content page (1500-2000 words) should have between 4 and 8 H2 headings to structure main sections. Each H2 should cover a distinct sub-topic of your main subject. For longer articles (3000+ words), 8 to 12 H2s are appropriate. What matters is that each heading provides real structural value and isn’t added artificially for SEO.
Does the order of headings in source code matter?
Yes, the order of headings in HTML code is important for accessibility and SEO. Headings should appear in a logical descending order: H1 first, followed by H2s, then H3s under each relevant H2. Search engines and screen readers interpret headings sequentially. An H3 heading that appears before its parent H2 creates an illogical structure that can confuse content understanding algorithms.
Can I use multiple H1 tags on the same page?
Technically, HTML5 allows multiple H1s in different sections (article, section), but SEO best practices recommend one H1 per page. Google has indicated it can handle multiple H1s, but a single H1 sends a clearer signal about the page’s main topic. If your page naturally has multiple major sections, use one global H1 and H2s for each section.
Do headings in widgets and footer count for SEO?
Headings in widgets, sidebar, and footer are considered by Google, but with less weight than those in main content. However, H2 or H3 in widgets can dilute your page’s semantic structure. It’s recommended to use H4 or styled span elements for widget titles to preserve the heading hierarchy for main content.
How do I analyze my competitors’ heading structure?
Use our headings extractor to analyze competitor pages ranking for your target keywords. Examine their structure: how many H2s do they use, what sub-topics do they cover, what keywords appear in their headings. This gives you insights into topics Google considers relevant for your target query and helps you enrich your own content structure.
Does an empty or invisible heading affect SEO?
Yes, empty headings (with no visible text) or hidden via CSS (display:none, visibility:hidden) are problematic. Google may interpret hidden headings as an attempt at manipulation and penalize the page. Empty headings create accessibility errors and disrupt semantic structure. If a heading isn’t needed visually, it probably shouldn’t exist in the HTML code either. Our tool automatically detects empty headings so you can fix them.

