How to find the H1 tag on any webpage (no install needed)

You do not need an extension to see a page’s H1. Every desktop browser can show it in a few seconds. Pick the method that fits the question: a quick look, the rendered page, the raw HTML a crawler receives, or a report you can share.

H1 Tag Checker

In this guide

1. Ask the browser console (sees the rendered page)

Right-click the page and choose Inspect, or press F12 (Cmd+Option+I on a Mac). Open the Console tab, paste the line below and press Enter.

You get a list with the text of every H1. An empty list means the page has no H1, even after its JavaScript has run. This is the only quick method here that sees headings added by scripts after loading.

[...document.querySelectorAll('h1')].map(h => h.textContent.trim())

2. Inspect the headline in DevTools

Right-click the main headline you can see and choose Inspect. The Elements panel highlights the tag, so you can check whether it really is an h1 or just a styled div or p.

Large text on screen is often not the H1 at all. To step through every H1 in the document, press Ctrl+F (Cmd+F) inside the Elements panel and search for <h1.

3. View the source (what a crawler gets first)

Press Ctrl+U (Cmd+Option+U on a Mac), or type view-source: in front of the address, then search the page for <h1.

This is the HTML the server sends before any JavaScript runs. If an H1 appears in the console method but not here, the page depends on rendering to show its main heading. Search engines usually render pages, but many other crawlers only read the raw HTML.

4. Save a one-click bookmarklet

Create a new bookmark, give it a name such as Headings, and paste the code below as its URL. Click it on any page to see every H1 to H6 in order.

It runs only when you click it and only on the current page. Some sites block bookmarklets with a strict content security policy; if nothing happens, use the console method instead.

javascript:(()=>{const h=[...document.querySelectorAll('h1,h2,h3,h4,h5,h6')];alert(h.length?h.map(e=>e.tagName+': '+e.textContent.trim().slice(0,80)).join('\n'):'No headings found')})()

5. Check by URL for a report you can share

Paste the address into H1 Tag Checker. It lists H1 to H6 counts, flags a missing, empty or repeated H1, compares the H1 with the title element and lets you copy a text report.

The checker reads the HTML the server returns, like view-source. For a page built with JavaScript, run the console method as well and compare the two.

Which method should you use?

All five methods find the same element. They differ in whether they see JavaScript changes and whether they give you something to share.

For a quick look, the console or the bookmarklet is enough. To learn what a crawler receives without JavaScript, use view-source or H1 Tag Checker. If the two disagree, you have already found the most important fact: the page depends on rendering for its main heading, and that dependency is worth discussing with your team before you change individual headings.

MethodSees JavaScript changesBest for
ConsoleYesA quick list of every H1
InspectYesChecking whether big text really is an H1
View sourceNoWhat a crawler receives first
BookmarkletYesOne-click outline on any page
H1 Tag CheckerNoA report for a client or teammate

Surprises you may run into

An H1 hidden with CSS still counts. The console line and view-source both list it, even though nobody sees it on screen. Hidden H1s are common in themes that keep an accessible page title off-screen. They are not wrong in themselves, but they explain why a checker reports an H1 you cannot find visually.

Headings inside web components can be invisible to the console line. A plain querySelectorAll call does not look inside shadow roots, so a heading rendered by a custom element may not appear in the list. In that case, select the element in the Elements panel and expand its shadow root.

Some pages render different markup for phones. If your desktop check looks fine but a mobile audit complains, switch DevTools to device mode, reload the page and run the console line again.

Checking H1s across many pages

The methods above work one page at a time. To review a whole site, start with its sitemap: open it, pick the page types that use different templates (home, article, category, product) and check one or two of each. Template problems repeat, so a handful of samples usually tells you more than checking every URL.

Write down the H1 text and count for each sample. If the same template gives one page a correct H1 and another page none, the template probably depends on a field that some pages leave empty.

Compare the H1 with the page title

While you are looking at the H1, read the title element as well. In the console, document.title shows it. The two should describe the same topic, even if the title adds the brand name or is worded for search results.

A mismatch, such as a generic H1 like Welcome on a page titled for a specific product, is a quick win. Rewrite the H1 so a visitor immediately knows they are on the right page.

What to do with what you find

No H1: add one that names the page topic, and keep it consistent with the title element.

Several H1s: read the guide on multiple H1 tags before deleting any, because the fix depends on why they are there. If the H1 is your logo, move the H1 to the page topic and keep the logo as a link.

Frequently asked questions

Is there a Chrome extension to check H1 tags?

Several exist, but you do not need one. The console line and the bookmarklet in this guide work in Chrome, Edge, Firefox and Safari with nothing installed. For a shareable report, paste the URL into H1 Tag Checker.

How do I find the H1 on a mobile phone?

Mobile browsers do not offer DevTools by default. Paste the page address into H1 Tag Checker from your phone; it fetches the page and lists its headings.

Why does view-source show no H1 when I can see one?

The page probably adds its main heading with JavaScript after loading. The console method sees it, but view-source and URL-based checkers read the HTML before scripts run.

Is the biggest text on the page the H1?

Not necessarily. Size comes from CSS, so a styled div can look like a heading while the real H1 is elsewhere or missing. Inspect the element to see its tag.

Sources and further reading