Website H1-H6 Heading Checker - SEO Structure Audit
Pricing
from $10.00 / 1,000 pages
Website H1-H6 Heading Checker - SEO Structure Audit
Check H1-H6 headings on one page or crawl a whole site. Returns every heading by level, a 0-100 structure score per page, and the exact issues found - missing H1, duplicate H1, skipped levels, headings too short or long - each with a severity and a fix, plus a site-wide summary.
Pricing
from $10.00 / 1,000 pages
Rating
0.0
(0)
Developer
My Smart Digital
Maintained by CommunityActor stats
3
Bookmarked
26
Total users
0
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Website H1-H6 Heading Checker
Check the heading structure of any web page or whole site. The actor reads every H1 to H6 tag, scores each page from 0 to 100, names the exact problems it found and tells you how to fix them.
Run it on a single URL, or crawl up to 50 internal pages and get a site-wide summary on top of the per-page detail.
What you get
For every page: the full list of headings by level, their order on the page, a 0–100 structure score, the issues found and a recommendation per issue.
For the whole site: heading totals and averages, the share of pages missing an H1 or carrying several, the count of issues by severity, and every issue grouped by type with the pages concerned.
Output goes to the dataset and to the key-value store under the OUTPUT key.
What it detects
| Issue | Severity | Meaning |
|---|---|---|
missing H1 | critical | The page has no H1 with text (an H1 made of a logo counts, through the image's alt text) |
multiple H1 tags | critical | More than one H1 on the same page |
heading hierarchy skipped levels | critical | A level is jumped, e.g. H2 straight to H4 |
too many consecutive same level headings | warning | A long run of same-level headings with no sub-structure |
heading text too short | warning | Under 10 characters |
heading text too long | warning | Over 100 characters |
H1 identical to page title | info | The H1 repeats the <title> word for word |
The 0–100 score is built from four things: whether a single H1 is present, how consistent the hierarchy is, the length and quality of the heading text, and the depth of H2/H3 use. The letter grade is given once for the site, in domain.analysis_summary.average_score_grade, and follows the site average: A from 90, B from 80, C from 70, D from 60, F below. Individual pages get a number, not a letter.
How heading text is read
Each heading is read the way a visitor sees it, so its text, length and wordCount describe what is on the page:
- Words that a line break, an image or a block element separates stay separate:
Bienvenue<br>chez LapérousereadsBienvenue chez Lapérouse, notBienvenuechez Lapérouse. Letters wrapped one by one in inline elements for an animation stay one word. - Code that a theme leaves inside a heading is not text: a
<style>block, a script, or the<noscript>copy of a lazy-loaded logo, which would otherwise come out as raw<img src=...>markup. - The spaces, tabs and line breaks of the HTML source are folded into single spaces, so indentation never makes a heading look longer than it is.
- A heading made of an image alone, such as a logo in the H1, reads as the image's alt text and counts as a heading.
- Headings inside a
<template>are not shown on the page and are not counted. pageTitleis the page's own<title>, never the<title>of an SVG icon placed in the body.
Input
| Field | Type | Default | What it does |
|---|---|---|---|
startUrl | string | — | Page to analyze, or the page the crawl starts from. Required. |
crawlUrls | boolean | false | Follow internal links instead of analyzing a single page |
maxPages | integer | 2 | Pages to analyze when crawling, up to 50. Ignored when crawlUrls is false |
includeHeadingText | boolean | true | Return the text of each heading |
includeHeadingStructure | boolean | true | Return the ordered headingStructure array |
includeHeadingScore | boolean | true | Compute scores, issues and recommendations |
userAgent | string | own UA | User agent sent with each request |
timeout | integer | 10000 | Request timeout in milliseconds, 1000 to 30000 |
maxRedirects | integer | 5 | Server redirects followed per page, 0 to 10. A page that redirects further is listed in failed_pages, not charged |
Single page:
{ "startUrl": "https://example.com/" }
Whole site, 20 pages:
{ "startUrl": "https://example.com/", "crawlUrls": true, "maxPages": 20 }
Output
Trimmed extract of a real run on a 3-page crawl:
{"domain": {"domain_name": "https://www.smashingmagazine.com","total_pages_analyzed": 3,"total_headings": 105,"total_h1": 2,"total_h2": 54,"total_h3": 43,"total_h4": 6,"average_headings_per_page": 35,"average_heading_score": 67,"pages_with_h1": 2,"pages_with_h1_percentage": 67,"pages_with_no_h1": 1,"pages_with_multiple_h1": 0,"pages_with_good_structure": 2,"total_heading_issues": 6,"critical_issues": 3,"warning_issues": 3,"info_issues": 0,"issues_by_type": {"missing H1": [{ "issue": "missing H1", "page": "https://www.smashingmagazine.com/articles", "severity": "critical" }]},"analysis_summary": {"has_heading_issues": true,"needs_h1_improvement": true,"has_good_structure": true,"average_score_grade": "D"}},"pages": [{"url": "https://www.smashingmagazine.com/","finalUrl": "https://www.smashingmagazine.com/","analyzed": true,"pageStatusCode": 200,"pageTitle": "Smashing Magazine — For Web Designers And Developers","h1": ["Smashing Magazine"],"h2": ["Meet AI 2027 Conference (Dec 1)", "AI Sped Up The Build: How Can Accessibility Testing Keep Up?"],"h3": ["Smashing Magazine is so much more than articles."],"h1Count": 1,"h2Count": 22,"h3Count": 1,"totalHeadings": 28,"headingStructure": [{ "tag": "h1", "level": 1, "text": "Smashing Magazine", "position": 1, "length": 17, "wordCount": 2 }],"headingScore": 65,"headingIssues": ["heading hierarchy skipped levels", "too many consecutive same level headings"],"headingRecommendations": ["Good heading structure, consider minor improvements"],"analysis_date": "2026-11-21T18:43:40.169Z","data_source": "msd_headings"}],"failed_pages": [],"analysis": {"total_pages_processed": 3,"total_pages_failed": 0,"total_pages_turned_away": 0,"total_links_left_site": 0,"total_redirects_to_analyzed_pages": 0,"analysis_completed_at": "2026-11-21T18:43:40.847Z","headings_engine_version": "1.2.0","data_format_version": "1.0"}}
The H1 of this home page is the magazine's logo, an image: it is read through its alt text, Smashing Magazine.
h4, h5, h6 and their counts are always present, empty when the page has none.
Redirects and links that leave the site
Each page is followed through its server redirects, and its links are read from the address where it lands, the way a browser reads them. finalUrl gives that address; url is the address that was requested.
A link of the site whose redirect leads to another site (an /about page that moved to another domain, a share button that hands over to a social network) is neither analyzed nor charged, and the other site is never asked for its page: it is not yours. The site is its hosts with or without www, their subdomains and the parent domain. Its place in maxPages goes to the next link, analysis.total_links_left_site counts these links, and the run's status message says how many there were.
An address that redirects to a page already analyzed (an old URL, or / sending visitors to /en/ while the menu links to /en/) is not analyzed or charged a second time: analysis.total_redirects_to_analyzed_pages counts them.
startUrl itself is analyzed wherever it lands, and the crawl goes on from there.
Pages that cannot be read
A page hit by a transient network error (DNS, reset connection, timeout) or a rate limit (HTTP 429) is tried up to three times, then listed in failed_pages with its reason. It is excluded from the statistics, so a network problem never shows up as "0 headings, grade F". If no page at all could be read, the run fails instead of returning an empty report.
A page that an anti-bot protection serves instead of the site (a Cloudflare challenge, the error page of Akamai's edge, an AWS WAF challenge or CAPTCHA, a DataDome block, an Imperva challenge), or a refusal (HTTP 401, 403, or 429 after the retries), is neither analyzed nor charged: its headings would describe the protection, not your site. It is listed in failed_pages with error_code: "TURNED_AWAY" and turnedAwayBy naming what answered, for example "Cloudflare challenge" or "HTTP 403", its links are not followed, and analysis.total_pages_turned_away counts these pages. The run's status message says how many pages were turned away and by what. When a protection or a rate limit blocks three pages in a row, the crawl stops instead of requesting the rest of the queue. A real page that merely loads a protection script (a Turnstile widget on a form, Cloudflare's bot detection, Imperva's script) is analyzed as usual.
Limits
- Static HTML only. Headings injected client-side by JavaScript are not seen.
- Heading text is read from the HTML without loading stylesheets: when a site's CSS turns an inline element into a block (a
<span>given a block class), the two words it separates on screen can come out joined. - The crawl follows internal links from
startUrland stops atmaxPages, capped at 50. It is not a full site crawler and does not read your sitemap. - Sites that block automated requests cannot be analyzed: this Actor fetches pages without a browser, so a site that answers every request with a protection page gives no result. Those pages are reported, not charged.
- Only HTML pages are analyzed and charged. Links to files (images, PDFs, feeds, documents) are not followed, and a URL that serves anything other than an HTML page is skipped at no charge: its place in
maxPagesgoes to the next page. - Scores and grades come from the rules listed above. They are a structure check, not a ranking prediction.
- Heading length thresholds (10 and 100 characters) are fixed and not configurable.
Typical uses
Auditing heading structure before a redesign or a migration, checking that a new template outputs one H1 and a clean hierarchy, and screening a batch of pages for missing or duplicate H1s.
Support
Open an issue on this actor's page and we will look at the run you report.