Skip to the content

Contact usFree tools · No signup · Files stay on your device

SEO & Marketing

How many H1 tags should a page have for SEO?

How many H1 tags should a page have for SEO?

Use one h1 per page. That is the short answer, and it is the one that causes no trouble for search engines, screen readers or the next person who edits your template. More than one h1 is allowed by HTML and is not a Google penalty, but it makes the page harder to understand, and it is almost always a sign of a theme or page-builder habit rather than a decision.

This guide explains what the rules really say, the four most common ways pages end up with the wrong number, and how to check and fix yours in a few minutes with the free HTML Outliner.

The short answer

  • One h1 that names the page is the best practice and the safest default.
  • Several h1 elements are valid HTML. Google has said publicly that they are not a ranking problem. They are still a weaker structure.
  • No h1 is also not a ranking disaster, but you lose the clearest signal of what the page is about.

Our tool follows the same logic. No h1 is reported as an Error, and several h1 headings are reported as a Warning, not an Error.

Why one h1 is still the better choice

An h1 is the title of the page's content, the way a book chapter has one title. When a visitor, a search engine or a screen reader skims the page, the h1 is the first answer to "what is this?".

  • Screen-reader users often jump from heading to heading or list the headings by level. With one h1, they land on the main topic straight away. With three, they have to guess which is the real one.
  • Search engines use headings as a hint about structure and topic. One clear h1 gives an unambiguous main topic.
  • Editors and developers can see at a glance how the page is built.

There is also a history behind the confusion. The HTML5 "document outline" idea said that each section could restart with its own h1. Browsers and screen readers never implemented it, and it has been removed from the HTML specification. Tools and assistive technology only look at the h1 to h6 levels, so a second h1 inside a section does not behave like a sub-heading. It is just another top-level heading.

The four usual causes of extra or missing h1 tags

1. The logo or site name is an h1

Many themes wrap the site name in an h1 in the header, so every page starts with the same h1. Then the real page heading is an h1 too, or an h2. Our tool looks past headings inside the header, menus and footer when it counts the page's h1 headings, because a site name does not say what this page is about. If the only h1 is in the header, the Warning reads "The only <h1> is in the site header, menu or footer."

Fix: make the logo a link or a div, and put one h1 for the page title inside the main content.

2. Each section has its own h1

Page builders and some older templates give every big block an h1 because it looks large. Then the page has five.

Fix: keep the first as the h1, change the rest to h2. If a block needs to look large, make it large with CSS. The level of a heading is about meaning, not size.

3. The page title is added twice

A WordPress theme prints the post title as an h1, and the editor content also starts with an h1 that you typed. Two identical h1 headings appear.

Fix: remove the one in the content and keep the theme's.

4. The h1 is hidden or missing

A designer hides the h1 with display:none, or the page is built so that the heading is added by JavaScript. Hidden headings are not exposed to screen readers. When the heading is added by script, the HTML the server sends has none.

Fix: show the heading, even if you make it visually small. If it is added by JavaScript, check the rendered HTML as described below.

How to check your own page with HTML Outliner

  1. Open HTML Outliner.
  2. Choose an Input method. Fetch a URL is the quickest for a live page: type the address under "Page URL" and press Fetch & outline. If the page is not public, or is built with JavaScript, choose Paste HTML and paste the page's HTML instead.
  3. Look at the Summary panel. The chart "Headings by level" shows how many h1 to h6 the page has. You want the H1 bar to say 1.
  4. Open Issues & checks. Look for these lines:
    • "Exactly one <h1>." under Passed checks means you are fine.
    • "2 <h1> headings found." is the Warning for several. Open "Show 2 affected" to see which headings they are.
    • "No <h1> found." is an Error.
    • "The first heading of the content is an H2, not an H1." means the content starts at a lower level.
  5. To look at only the h1 headings, go to the Outline panel, Headings view, and set Levels to "H1 only". Press a heading to copy its text.
  6. Switch to Structure to see where each h1 sits. An h1 outside the main landmark is reported as a Note, because the main heading belongs in the main content.

The tool reads the HTML the server sends. It does not run JavaScript, so headings added by script will not appear. Pasted HTML and files stay in your browser; a fetched address is sent to our server, which downloads the page for you.

What to do when you find a problem

What you find Change to
Logo or site name in an h1 A link or div
Second h1 in a section h2
h2 straight to h4 h3, so no level is skipped
h1 hidden with display:none A visible h1
No h1 at all One h1 naming the page

After a change, paste the updated HTML again and make sure the number of problems went down. Test one page before changing a whole template.

What a good h1 looks like

  • It says what the page is about in plain words: "SSC Result 2027: how to check your result online".
  • It is short. The tool notes any heading longer than 70 characters.
  • It matches the topic of the title tag, though it does not need to be identical. If the title and the h1 share no words, the SEO basics card gives a Check.
  • It contains your main keyword naturally, once, without stuffing.

A page about a university admission form could have this skeleton:

<h1>Dhaka University admission form 2027: dates, fees and steps</h1>
<h2>Important dates</h2>
<h2>Application fee</h2>
<h2>How to apply online</h2>
<h3>Upload your photo and signature</h3>

There is one h1, then h2 sections, then one h3 under the section it belongs to. No level is skipped.

Common questions

What about pages with several unrelated blocks, such as a homepage?

A homepage still benefits from one h1, usually the brand with a short description of what you do. The blocks below it can be h2.

Do category pages and tag pages need an h1?

Yes. For a category page, the category name is the right h1. Do not repeat the site name there.

Does the title tag count as an h1?

No. The <title> element is in the head of the page and appears in search results and the browser tab. The h1 is in the body. Both should be about the same topic, but they are separate. You can check both together in the Meta Tag Checker.

Quick checklist

  • One h1 per page, inside the main content.
  • Logo and site name are not headings.
  • Other big headings are h2, then h3, with no skipped levels.
  • The h1 is visible and present in the HTML the server sends.
  • Run the HTML Outliner again after every theme or plugin update.

Frequently asked questions

Is it bad for SEO to have more than one H1?
It is not a penalty. HTML allows several h1 elements and Google has said that multiple h1s are not a ranking problem. One h1 is still the clearest choice for readers, screen-reader users and anyone checking your page structure, so it is the safe default.
Does a page need an H1 to rank?
No. Pages rank without one. But an h1 that names the page helps people and search engines understand the topic quickly, so a page without one is a missed chance, and our tool reports it as an error.
Should the H1 be the same as the title tag?
It can be, but it does not have to be. The title shows in search results and the browser tab, the h1 shows on the page. Slightly different wording lets each do its own job, as long as both are about the same topic.
My logo is an h1 on every page. Is that wrong?
It is a common mistake. A logo or site name does not say what this page is about. Use a div or a link for the logo and keep the h1 for the page's main heading inside the main content.
How do I check how many H1 tags my page has?
Paste the page's HTML into the HTML Outliner, or fetch the address, then look at the Headings by level chart or set Levels to H1 only. The Issues list also says exactly how many h1 headings it found.
Found this useful? Share it

Tools in this guide

Main tool

HTML Outliner

Paste HTML, upload a file or fetch a URL to see its heading outline with the text under every heading, word counts and landmark structure.

Open tool

Meta Tag Checker

Enter a URL to see every SEO-relevant tag on the page, how it will look in Google and on social media, and exactly what to fix.

Open tool

Word Counter

Paste or type any text to get live word and character counts, reading and speaking time, a readability score and the keywords you use most.

Open tool

Back to all guides & blog