Your page may have two H1 headings even though you only wrote one. The second one is rarely in your article text. It hides in the frame around it: the site name in the header, a tagline block, a hero section from a page builder. Each H1 announces "this is the main topic of the page", so two of them split that announcement between two different claims. This guide shows how to find every H1 on a page with the free Heading Structure Analyzer on Ovatly, decide which one deserves to stay, and fix the rest where they actually live, in your CMS or template.

Contents

  • Quick answer
  • Why a second H1 shows up
  • What the analyzer flags
  • How to fix multiple H1 tags, step by step
  • Which H1 should stay
  • Worked example: a coffee guide with a template H1
  • Limitations and honest notes
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Copy the page source, paste it into the Heading Structure Analyzer, and read the indented outline: every line at the top level is an H1. Keep the H1 that states the page topic, demote the others to a lower level or remove their heading markup, and make the change in your CMS or template rather than page by page. Then paste the updated source and confirm the warning is gone. Multiple H1s are a warning, not a hard error: HTML5 allows several H1s in separate sections, but a single clear H1 is the safer, conventional choice for SEO and accessibility.

Why a second H1 shows up

The body of an article normally carries exactly one H1, its title. The extras come from the template that wraps every page. A theme may wrap the site name or logo text in an H1 in the header. A page builder may add a hero block with its own H1 above your content. A sidebar or promotional block may promote its label to a top-level heading. Because these elements live in the template, the same extra H1 repeats across the whole site, which is why editing one page at a time never really solves it. The durable fix is at the source: the template or CMS setting that emits the extra heading.

What the analyzer flags

The analyzer reads the HTML you paste and draws the H1 to H6 outline in document order, then flags the structural problems that confuse readers and search engines: missing or multiple H1s, skipped heading levels, and empty headings. Multiple H1s appear as a warning rather than a hard error, matching the underlying reality: the markup is legal, it is just rarely what the page means. The outline view is what makes the problem easy to see, because headings that are scattered through a long page of source code line up in a short list, in the order a reader or a screen reader meets them.

How to fix multiple H1 tags, step by step

  1. Copy the page source (View Source in a browser) or any HTML fragment that contains the headings.
  2. Paste it into the box in the Heading Structure Analyzer, or load the small built-in example first to see how the outline and warnings look.
  3. Read the indented outline and count the lines at the top level. Each one is an H1. Note which one states the page topic and which ones belong to the header, a hero block or another template element.
  4. Work through the structural warnings and fix them in your CMS or template. Keep the topic H1. Demote a genuine section title to H2. If the extra H1 is a site name or a decorative label, remove the heading markup and keep its appearance with ordinary styling instead. Paste the updated source again to confirm only one H1 remains.

Which H1 should stay

Keep the heading a reader would name if asked what the page is about. On an article page, that is the article title, not the site name repeated in the header. On a homepage, the site name or the main offer may genuinely be the topic, and then it is the right H1 and the page's own headline should step down instead. The practical test is the outline itself: if someone navigating by headings lands on the first H1, does it tell them what this page covers? If the honest answer is "it tells them whose site this is", the wrong heading is on top.

Worked example: a coffee guide with a template H1

Take a coffee site whose article page source contains an H1 "BrewLab" from the header template, followed by the article itself: H1 "Pour Over Coffee Guide", H2 "What you need", H3 "Grinder", H2 "Brewing steps", H4 "Water temperature" and H2 "Common mistakes". Pasted into the analyzer, the outline shows two lines at the top level and raises the multiple H1 warning. The fix takes a minute once the source is identified: in the template, the header site name loses its heading markup and becomes a styled paragraph that looks identical, while "Pour Over Coffee Guide" stays as the page's only H1. Paste the new source and the outline now starts with a single H1, followed by the article's five subheadings in order. The multiple H1 warning is cleared. (The same outline still shows a skipped level at "Water temperature", a separate problem covered in the sibling guide linked below.)

Limitations and honest notes

The analyzer checks structure only: levels, order and emptiness. Whether a heading's wording is good is a writing judgment it cannot make, so it will not tell you whether your surviving H1 is well written, only that there is exactly one of it. It also works entirely on what you paste. Pages built by JavaScript frameworks may show different headings in raw source than in the rendered page, so paste the rendered HTML from developer tools for those. The pasted HTML is parsed in an inert document: scripts do not run and no external resources are loaded. Finally, the analyzer never edits your site; it shows you the outline and the warnings, and the changes happen in your CMS or template.

Common mistakes

  • Keeping the wrong H1. The site name survives and the article title gets demoted, leaving every article page announcing the brand instead of its topic.
  • Fixing pages one by one. If the template emits the extra H1, a hundred manual page edits still leave the hundred and first page broken.
  • Treating the warning as an emergency. Multiple H1s are flagged as a warning, not a hard error. Fix them as part of normal template maintenance, not by ripping headings out in a panic.
  • Hiding the extra heading with CSS. Making an H1 invisible or tiny does not change the markup, so the outline still shows two H1s. Change the tag, not just the appearance.
  • Removing every H1. Deleting both headings leaves the page with none, which the analyzer also flags. A page needs exactly one clear topic heading.

FAQs

Is having more than one H1 an error? HTML5 allows several H1s in separate sections, but for SEO and accessibility a single clear H1 stating the page topic is the safer, conventional choice, so the analyzer flags multiples as a warning, not a hard error.

Which H1 should I keep? Keep the one that states the page topic. On an article page that is the article title, not the site name in the header. The other headings can be demoted to a lower level or lose their heading markup entirely.

Do I fix multiple H1s in the analyzer or on my site? On your site. The analyzer only reads the HTML you paste and flags the problem; the fix itself is made in your CMS or template, which is also where the extra H1 usually comes from.

Is the HTML I paste uploaded or executed? No. The pasted HTML is parsed locally with DOMParser and never executed: scripts do not run and no external resources are loaded.

What if my page is built with a JavaScript framework? Pages built by JavaScript frameworks may show different headings in raw source than in the rendered page. Paste the rendered HTML from your browser's developer tools so the outline matches what visitors actually get.

Conclusion

Multiple H1s are almost never a writing problem; they are a template problem with a template fix. Run the page source through the Heading Structure Analyzer, keep the one H1 that states the page topic, demote or un-mark the rest at the source, and re-check until the outline starts with a single top-level line. For the other structural warning the analyzer raises most often, see Heading Order Mistakes: Skipped Levels and Headings Used for Styling. More guides like this one live in the SEO Tools guides collection.

References