Cookies disclaimer

I agree Our site saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device.

H Tag Word Count Data

H Tag Word Count

H tag word count
Values Returned
Examples of How H Tag Word Count Data is Used
- Example 1: Content Per Header
- Example 2: Header Structure
- Example 3: Header Content to Other Content Ratio
What We Do & What We Give You
Related Content
Benefits of Our Data


H Tag Word Count

The number of words within the Headers of a page.

Raptorbot (otherwise known as a web crawler or web scraper) not only crawls the page and scrapes the data as the names imply; we also analyse that data and do things like, in this case, count the words contained within the headers of a page.


Values Returned

The value we return for each URL is one of three, each detailed below:


This is a number from 0 to infinity (this excludes headers with errors)


There are headers, but there are no words for some reason


No header tags are present on a page


When there are headers, but the tags are incorrectly implemented or broken


Examples of How H Tag Word Count Data is Used

There are various reasons why you would want to look at H2 Word Count data, we have set out some examples below.


Example 1: Content Per Header

For a page to have more than 4-5 H2 headers, one would expect there to be significant content on these pages. Using the word count of the headers, the word count of the page, and the total number of headers… We can calculate some interesting data:

(Word count – Word Count of Headers) / Number of headers = Content per header

You can sure this data up by removing estimated word counts from templated regions like menus. You can perform this on each page to identify pages with thin content per header or look at the site to get a more holistic perspective.


Example 2: Header Structure

When used in combination with other header data you can assess the header structure of a site or competitor sites. You can make assessments regarding any of the following:

  • Header structure issues
  • Content structure
  • Header hierarchy issues


Example 3: Header Content to Other Content Ratio

Although certainly not a standard SEO check, you can use a range of metrics and data provided by Raptor’s web crawler. For example; removing templated word count from each page and removing the header word count, gives you a final reduced ‘content’ word count. Divide this by:

The number of headers = The content per header

Or divide the header word count by the ‘content’ word count to get a ratio. If this ratio is high, over 10% for example, you probably need to review the way content and headers are implemented throughout a page or site.


What We Do & What We Give You

We aggregate the word count of all H header tags on a page in a single number, which is what we represent with this metric / number.

Any content within a header tag such as those shown below will all be ‘word counted’:

  • <h1>example header</h1>
  • <h2>great header</h2>
  • <h3>good header</h3>
  • <h4>bad example of a header</h4>
  • <h5>some interesting placeholder text</h5>
  • <h6>the final header</h6>

There are 21 words within the 6 headers shown in the example above.

This can be useful when trying to gauge the volume of words on a page within the main content. Deducting headers or dividing the content by the ‘h tag count’ (see below) can give you an idea of how much your content is segmented into digestible sections.


Related Content

The list of guides below might be useful if you are analysing this data and want to know more about it:

Related column headers in Raptor website crawler reports:


Benefits of Our Data

There are several benefits to analysing H1 header data, such as those listed below:

  • Gauge effectiveness of headers
  • Help to determine header structure
  • Use with content analysis
  • Improve an add to types of content optimisation
  • Audit a site’s headers
  • Scrape competitor headers


Sign up Now for a Free 30-Day Trial. Audit H headers on your site and much more!