bookmarklet.one

Heading Hierarchy Map Bookmarklet

Free heading structure checker bookmarklet: shows the page's H1–H6 outline as an indented tree, flags skipped levels and scrolls to any heading.

Heading Hierarchy Map
← Drag this button to your bookmarks bar.Click it here to try it on this page first.

On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.

SEO AccessibilityUpdated 2026-11-27Free · No extension · Runs locally

This bookmarklet turns the page's headings into an indented outline, the way a search engine or screen reader sees the structure. Each heading appears at its level with a colored H1–H6 badge, in document order, and problems are written right under the heading that has them: a skipped level (H2 straight to H4), an empty heading, a first heading that is not an H1, or a heading that is hidden on screen.

Click any line to scroll the page to that heading and flash it, which makes it easy to find a stray H2 buried in a sidebar widget. The summary at the top shows the total, the count per level and whether the page has exactly one H1.

Copy the outline as indented text for a content brief or audit, or as Markdown to rebuild the structure in a doc. Writers use it to check that the outline tells the story; SEOs and accessibility testers use it to catch template problems fast.

What it does

  • Indented tree of all H1–H6 headings in document order with level badges
  • Per-heading warnings: skipped levels, empty headings, first heading not H1, hidden headings
  • Summary with total, count per level and H1 check
  • Click a heading to scroll to it on the page and flash an outline
  • Copy as indented outline or as Markdown

How to install the Heading Hierarchy Map bookmarklet

  1. Show your bookmarks bar. Press Ctrl+Shift+B on Windows/Linux or Cmd+Shift+B on a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar.
  2. Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
  3. 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

  1. Open the page and click the bookmarklet.
  2. Read the tree from top to bottom; amber lines mark structural problems.
  3. Click any heading to jump to it on the page.
  4. Use Copy outline or Copy Markdown to paste the structure into your notes.

Fixing common outline problems

A skipped level is usually a styling choice: someone picked H4 because it looked right. Keep the correct level and change the CSS instead. Hidden headings are often duplicated mobile menus or tab panels; they are fine if they make sense when visible, but check they are not keyword-stuffed leftovers.

Headings in global elements (newsletter boxes, footers, "related posts") appear in every page's outline. Consider making them non-heading text if they are not part of the content, so the main outline stays focused. To see the headings highlighted in place instead, use the Highlight Headings bookmarklet.

Bookmarklet code

This is the exact code inside the button above (8,038 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 a skipped heading level an SEO problem?

It is not a ranking penalty, but it weakens the outline and is an accessibility issue for screen reader users who navigate by headings.

Why does a heading show as hidden?

It has no visible box on the page, usually because of display:none in a collapsed menu, tab or responsive layout.

Does it include headings inside iframes?

No. Only headings in the main document are listed. Run the bookmarklet on the iframe's own URL if needed.

Related bookmarklets

Free highlight headings bookmarklet: outlines and labels every H1–H6 on the page in color, with counts per level and…

Free SEO meta tag checker bookmarklet: title, meta description, H1, canonical, robots, hreflang, viewport and Open Graph…

Free readability checker bookmarklet: Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, SMOG and more for any page…

Free keyword density checker bookmarklet: counts the top words and 2- and 3-word phrases on any page, with density and…