Heading Structure Analyzer.
Paste a page's HTML to see its H1 to H6 outline in source order, with a missing or repeated H1, skipped levels, empty headings and headings over 100 characters flagged. It reads only the HTML you paste, in your browser.
How the heading structure analyzer works
Paste the HTML
View Source works for pages built on the server. If headings are added by JavaScript, copy the rendered HTML from your browser's developer tools, or the tool will not see them.
The tool finds the headings
It matches every h1 to h6 element in the text, strips any tags inside them and keeps their order. Nothing is sent to a server.
Read the outline and the flags
A missing H1 is an error; everything else is a warning. A jump back up, such as H4 to H2, is not flagged, because W3C guidance allows it when a new section starts.
Fix and paste again
Change the template or the content, then paste the new HTML to confirm the outline reads the way you intend.
Do headings affect SEO?
A little. Headings tell Google what a page and its sections are about, but Google's SEO Starter Guide says that from a Google Search perspective "it doesn't matter if you're using them out of order" and that there is "no magical, ideal amount of headings" for a page. The people who depend on heading structure are screen reader users, who move through a page by jumping from heading to heading.
Headings do have one documented job in search results. Google's guide to influencing title links lists heading elements such as the H1 among the sources it can draw on when it writes the clickable headline of a result, alongside the title tag and the main visual title on the page. An H1 that plainly describes the page gives Google a good fallback when the title element is vague or out of date.
Google also has a passage ranking system, which it describes as an AI system that identifies individual sections or "passages" of a page to judge how relevant the page is to a search. Google has not said that system relies on headings. A heading that names what its section answers still makes the section's subject plain to anyone scanning the page, which is the reason to write one.
How many H1 tags should a page have?
One, by convention, and this analyzer warns when it finds more. The rule comes from HTML and accessibility guidance, not from Google. MDN's reference on heading elements says several H1s are allowed by the HTML standard as long as they are not nested, but that this "is not considered a best practice", and that a page should generally have a single H1 describing its content, much like the title element. Google's own guidance, quoted above, is that heading order and count do not matter for Search.
So treat a multiple-H1 warning as a tidiness and accessibility fix, not a ranking emergency. If it appears on every page you test, look at the template first: a logo or site name wrapped in an H1 repeats across the whole site.
Is it bad to skip heading levels?
For screen reader users it can be; for Google rankings there is no evidence it matters. The W3C's tutorial on headings says skipping ranks "can be confusing and should be avoided where possible", giving the example of an H2 followed directly by an H4. It adds that skipping is fine when closing a subsection, so an H2 that starts a new section can follow an H4. MDN explains the cost: people who navigate by heading are left wondering where the missing level went.
The analyzer applies that rule exactly. It flags a jump deeper by more than one level, such as H2 to H4, and accepts any jump back up, such as H4 to H2.
Screen reader users lean on headings heavily. In WebAIM's tenth screen reader user survey, run in December 2023 and January 2024 with 1,539 valid responses, 71.6% of respondents said that on a long page they would first navigate through the headings to find information, and 88.8% found heading levels very or somewhat useful.
Why are some of my headings missing from the outline?
Because the analyzer reads only the HTML you paste. If your site adds headings with JavaScript, they are not in View Source; copy the rendered HTML from your browser's developer tools instead. To see what Google itself fetched, use the URL Inspection tool in Search Console, which shows the crawled HTML and, in a live test, a screenshot of the rendered page. Our technical SEO audit checklist covers how to confirm Google sees a page's content after JavaScript runs.
The reverse problem is text that looks like a heading but is not one: a paragraph or div styled large and bold never appears in the outline, and screen readers will not offer it as a stop. Pick the heading level by the section's place in the outline, not by the size you want. MDN's advice is blunt: do not use heading elements to resize text, use the CSS font-size property.
What makes a good heading?
One that tells the reader what the section answers, in the words they would use. Google's explainer on ranking calls content containing the same keywords as the search "the most basic signal" of relevance, so a heading that names the topic plainly helps. Repeating the keyword in every heading does not; Google's spam policies list repeating words so often that it sounds unnatural as keyword stuffing.
The 100-character warning in this tool is our own threshold for headings that have turned into sentences; Google publishes no heading length. The free meta tag analyzer checks the title and description that sit alongside the H1.
Heading structure questions.
Should the H1 match the title tag?
They should describe the same thing, but they do not have to be identical. The title often carries the brand name, which the H1 does not need. Google lists the H1 and the main visual title among the sources it can use for a result's title link, so a title that promises something the page does not deliver is likely to be replaced with text from the page.
Do headings help a page appear in AI Overviews?
Not in any special way. Google says there are no additional requirements to appear in AI Overviews or AI Mode and that ordinary SEO best practices apply. Clear headings help readers find the answer in a section, which is the same reason to write them for any page.
Does the analyzer work on pages built with JavaScript?
Only if you paste the rendered HTML. The tool reads the text you give it and does not load or run the page, so headings inserted by scripts are missing from View Source. Copy the html element from the Elements panel of your browser's developer tools instead.
How long should a heading be?
Long enough to say what the section covers. Google publishes no heading length; the 100-character warning here is this tool's own threshold for headings that have grown into sentences. Shorter headings are easier to scan, for sighted readers and for screen reader users moving through a list of headings.
Does the tool count headings hidden with CSS or inside comments?
Yes. It reads markup as text, so any h1 to h6 element in what you paste is counted, including one inside an HTML comment, a hidden block or a script string. If the outline shows headings you do not see on the page, search the source for them.
Is the HTML I paste stored anywhere?
No. The analysis runs in your browser and nothing is sent to a server or saved. Refreshing the page clears the input.
What to do next.
Run these next
All 25- Meta Tag AnalyzerCheck the title, meta description, canonical, robots and Open Graph tags from a page's HTML.
- AI Content OptimizerScore a draft on eight factors, including length, headings, lists and sentence variety.
- SEO Score CalculatorA 30-question yes or no checklist with a weighted score.
- Internal Link AnalyzerList every link in a page's HTML with its anchor text and nofollow flags.
Every page, not one
Check the whole site
The monthly plan crawls every page of the site and prices each fix by what the page earns, so the one that matters comes first.
See the monthly plan