Highlight Headings Bookmarklet
Free highlight headings bookmarklet: outlines and labels every H1–H6 on the page in color, with counts per level and warnings for missing H1s.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
Headings that look like headings are not always heading tags, and big bold text is often a styled <div>. This bookmarklet makes the real structure visible: every <h1> to <h6> on the page gets a colored outline and a small label (H1, H2, H3…) right in place, so you can read the hierarchy while looking at the actual design.
A compact legend shows how many headings of each level the page has, along with warnings for the issues that come up in every audit: no H1, more than one H1, skipped levels and empty headings. Hidden headings are counted separately so you know when some only appear on mobile or behind tabs.
It is quick to toggle on and off, which makes it useful while reviewing a design, writing a content brief, or checking that a new template uses headings for structure and not for styling.
What it does
- Colored outline and inline label on every H1–H6 (red H1 through purple H6)
- Legend with the count per heading level and the total
- Warnings for a missing H1, multiple H1s, skipped levels and empty headings
- Counts headings that are hidden from view
- Toggles off completely when you click it again or close the legend
How to install the Highlight Headings bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the page and click the bookmarklet.
- Scroll through the page: each heading shows its level label and colored outline.
- Check the legend for counts and warnings.
- Click the bookmarklet again, or close the legend, to remove all highlights.
What good structure looks like
Most pages should have exactly one H1 that describes the main topic, then H2s for main sections and H3s inside those. Skipping from H2 to H4 is not a ranking penalty, but it confuses screen reader users who navigate by heading and usually means headings are being chosen for their font size. Fix that with CSS instead.
Watch for headings in sidebars, footers and widgets: a footer full of H2s like "Follow us" dilutes the outline. For a tree view of the outline with click-to-scroll, use the Heading Hierarchy Map bookmarklet.
Bookmarklet code
This is the exact code inside the button above (6,496 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Is having more than one H1 bad for SEO?
Google says multiple H1s are fine, but one clear H1 is still the cleanest structure and the best for accessibility.
Why does a heading label look out of place?
The label is inserted with CSS ::before. If the site already uses ::before on headings for icons, the label replaces it until you toggle the bookmarklet off.
Does it change the page permanently?
No. It adds one style element, which is removed when you click the bookmarklet again or reload the page.
Related bookmarklets
Free heading structure checker bookmarklet: shows the page's H1–H6 outline as an indented tree, flags skipped levels and…
Free SEO meta tag checker bookmarklet: title, meta description, H1, canonical, robots, hreflang, viewport and Open Graph…
Free nofollow link highlighter: color-codes every link as followed, nofollow, sponsored or UGC, with a legend, counts and…
Free readability checker bookmarklet: Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, SMOG and more for any page…