H1 tag SEO guide: what the H1 is, how it differs from the title tag, what Google says about multiple H1s, best practices, examples and the AI angle.

On this page
In short
the H1 is the main visible heading of a page. Google uses it to understand the page and, when the title tag is missing or unhelpful, to build the title shown in search results. Google states that the number and order of headings is not a ranking issue in itself, but one clear H1 that describes the page, matches the search intent and is consistent with the title tag remains the best practice for users, accessibility and AI assistants that extract passages.
Want to go further? Ask
Quick quiz
Who should fix the technical side of your site?
Our advice for you
Describe the main topic, with the keyword in natural form is the right solution for you
Number 1 in this ranking, the best match for your answers.
Our advice for you
Stay consistent with the title tag is the right solution for you
Number 2 in this ranking, the best match for your answers.
Our advice for you
Make it visible and first is the right solution for you
Number 3 in this ranking, the best match for your answers.
Our advice for you
Keep it readable is the right solution for you
Number 4 in this ranking, the best match for your answers.
The H1 tag is the first-level heading element of HTML. The MDN reference on heading elements describes it as the heading that should describe the content of the page, much like the title element. This guide covers what the H1 does for SEO, what Google has said about it, and how to write one that works for search engines, readers and AI. For the other tags that matter, see our guide to HTML tags for SEO.
HTML has six heading levels, from h1 to h6. The H1 is the top level: the headline a visitor sees first, above the content. The H2 headings split the page into sections, the H3 headings split the sections, and so on. Together they form the outline of the page, which semantic HTML relies on to give meaning to the layout.
On a blog article, the H1 is usually the article title. On a product page, it is the product name. On a category page, it is the category name. On a home page, it should state what the company does, rather than repeat the brand name alone: our guide to home page SEO shows examples.
They are often confused because many CMS fill both from the same field. They do different jobs:
| Element | Where it appears | Main role | Length guidance |
|---|---|---|---|
| Title tag | Browser tab, Google results, social shares when no og:title exists | Win the click in search results | Around 50 - 60 characters to avoid truncation |
| H1 | On the page, at the top of the content | Confirm to the visitor they are on the right page, frame the content | No limit; short enough to read at a glance |
| Meta description | Under the title in results (when Google uses it) | Summarize the page and support the click | Around 150 - 160 characters |
The title and the H1 can be identical, and on simple pages that is fine. They can also differ: a title tuned for the click ("Running Shoes for Flat Feet: 2026 Guide") and an H1 written for the reader who has already arrived ("How to choose running shoes for flat feet"). What matters is that both describe the same topic. The full set of meta tags completes this picture.
Yes, but less as a direct ranking factor than as a signal of what the page is about. Three official statements frame the debate:
The conclusion: an H1 will not push a weak page to the top, and a missing H1 will not sink a strong one. A clear H1 helps Google confirm the topic, protects your title link from rewrites, and helps every visitor who scans the page. That is why it remains part of every on-page SEO checklist.
One is the best practice, even if more is allowed. The HTML standard permits several h1 elements, but MDN advises against it: a page should generally have a single h1 describing its content, and nesting h1 elements inside sections is now non-conforming. Google tolerates several H1s, so the reason for one is clarity rather than penalties: one H1 gives readers, screen readers, Google's title link system and AI assistants a single, unambiguous main title.
Multiple H1s usually come from templates rather than intent: a logo wrapped in an h1 on every page, a slider with an h1 per slide, a sidebar widget title coded as h1. Fix the template once and every page benefits.
The H1 should answer "what is this page about?" in a few words, using the phrasing people search for. Put the main keyword in it when it reads naturally; never stack variants ("Cheap shoes, discount shoes, shoes sale").
The H1 and title should promise the same thing. Google's documentation lists inaccurate titles, which no longer reflect the content of the page, among the cases where it may replace the title tag with other text such as the main heading. A SEO title generator helps draft both versions from the same keyword.
Put the H1 at the top of the main content, in text (not inside an image), larger than any other heading. Avoid an H1 hidden by CSS, or an H1 that contains only the logo or the brand name.
There is no official length limit. Aim for a heading a reader takes in at a glance, often under 70 characters, and cut filler words first.
Follow the H1 with H2 sections and H3 sub-sections, without skipping levels. The W3C's accessibility tutorial on headings notes that skipping ranks can be confusing and should be avoided where possible. Our guide on how to format a blog post applies this structure to articles.
| Page type | Weak H1 | Better H1 |
|---|---|---|
| Home page | Welcome | Accounting software for freelancers and small agencies |
| Product page | Model X-200 | X-200 cordless drill, 18V, with two batteries |
| Category page | Products | Women's trail running shoes |
| Blog article | Some thoughts on budgets | How to set a marketing budget for a small business |
| Local service | Our services | Emergency plumber in Lyon, available 24/7 |
| Any page | SEO shoes cheap shoes best shoes | One clear phrase that matches the search intent |
ChatGPT, Perplexity, Gemini and Google's AI Overviews rarely quote a whole page. They retrieve passages and assemble an answer from them. Headings define where those passages start and what they are about. The H1 sets the topic of the whole document; each H2 and H3 labels a block that can be extracted on its own. This is the logic of content chunking, and Google applies a similar idea in passage ranking.
In concrete terms: write an H1 that names the entity and the intent ("H1 tag SEO" plus "what Google says"), phrase H2s as the questions people ask, and open each section with a direct answer of one or two sentences. A page whose headings read like a table of contents of real questions is easier to rank, to scan and to cite.
Check templates first: a theme that wraps the logo in an h1, a blog layout that uses h1 for the site name, or a product template that shows the product name in a styled div rather than a heading. One fix in the template corrects hundreds of pages.
One visible H1 that names the topic in the words people search, consistent with the title tag and followed by a clean H2 and H3 structure, is the simplest heading setup for Google, readers and AI. If you publish often, Sorank's article generator writes and publishes SEO and GEO articles in autopilot with this structure built in: one H1, question-based H2s and answer-first sections.
A page with no H1 has no top-level heading, so nothing on it states the main topic the way readers, Google and AI assistants expect. Google's title link documentation does not say a missing H1 hurts rankings. It does say Google can take the title from other large, prominent text when the title is weak, so the title shown in results becomes a guess. Add one visible H1 at the top of the main content to remove the guess.
The problem is usually the template, not one page. A theme that never outputs an H1 leaves every article without a clear main heading, so fix the layout first.
| Cause | What it looks like | Fix |
|---|---|---|
| Title styled as a div | Large text in a div or span with a CSS class | Change the tag to h1 and keep the same class |
| Logo only | The header holds the logo, and the content has no heading | Add an H1 with the page topic in the main content |
| Heading is an image | The title is a picture with no text | Keep the image, and add the same text as a real H1 |
| Heading added by JavaScript | The H1 appears only after scripts run | Output the H1 in the initial HTML, or check the rendered page |
| Hidden H1 | The H1 exists, but CSS hides it | Make it visible, and keep it in the main content |
<!-- Before: the title is styled text, not a heading -->
<div class="page-title">Running shoes for flat feet</div>
<!-- After: same class, same look, real heading -->
<h1 class="page-title">Running shoes for flat feet</h1> Tip
Change the tag, not the design. Keep the existing class on the new H1 and let your CSS set the size, so readers see no difference while search engines get a clear main heading.
Viewing the source is not enough when a script builds the page. Check the rendered HTML with the URL Inspection tool in Search Console, or load the page with JavaScript turned off. If the H1 is missing there, it only exists after rendering. Many AI crawlers do not run scripts, so they may never see it. The JavaScript SEO guide explains rendering in more detail.
After you fix a page, run it through the free heading structure analyzer to confirm the tree is right. Then review the technical SEO checklist so the same gap does not return on other templates.
Yes. Google has said that a site can rank with one H1, several or none, because it reads the whole page and not only the headings. A missing H1 makes the main topic less obvious for visitors, screen readers and Google's title link system, so adding one is still a quick improvement. Pages that rank without an H1 usually have a prominent title styled differently.
Include the main keyword when it reads naturally, ideally near the beginning, because it confirms the topic to readers and search engines. An exact match is not required: Google understands close variants and synonyms. Never force several variants into the same heading, which reads badly and adds nothing.
It is better to avoid it. Each page should have its own H1 describing its specific content, otherwise Google and visitors cannot tell the pages apart and they may compete for the same queries. Duplicate H1s often come from templates, such as a site name coded as the H1 on every page.
