Heading Hierarchy: The Outline AI Uses to Understand Your Page

Heading Hierarchy: The Outline AI Uses to Understand Your Page

H1, H2, H3 are not styling choices. They are the outline a machine reads to understand what your page is about and how it is organised. A clean heading hierarchy hands AI a structured table of contents; a jumble of headings chosen for how big the text looks hands it confusion, and confusion does not get quoted.

By Margareta Petrovic, founder of Visibility Mesh. We measure how legible ecommerce stores are to AI, and publish what we find. Updated July 2026.
Key takeaways
  • H1, H2, H3 aren’t styling choices. They’re the outline a machine reads to understand what a page is about and how it’s organised.
  • The rules are simple: one H1 for the topic, H2s for main sections, H3s nested under them.
  • A flat or scrambled heading order leaves an engine unsure what the page is even about.
  • On Shopify, themes sometimes style text as headings (or vice versa). Check the real tags, not just the look.

Headings feel visual. Bigger, bolder, a way to break up the page. But to a machine they are structural: the H1 names the page, the H2s name its main sections, the H3s name the parts within. Read in order, the headings alone should sketch the whole page. When they do, a machine understands your content’s shape before it reads the prose.

Why the outline matters
67%
In our June 2026 study, 67% of 216 Shopify storefronts scored below 50 out of 100.
~50M
In mid 2025, about 2 percent of ChatGPT messages were about buying products, which works out to roughly 50 million a day (our estimate from OpenAI research published in September 2025).
−25%
Projected fall in traditional search by 2026 (Gartner). Raising the value of being followable by AI crawlers.

Headings are an outline

Picture stripping a page down to just its headings. If that list reads as a coherent outline, one clear title, logical sections, sensible sub-points, your structure is sound. If it reads as a random pile, or skips from H1 to H4 because H4 looked the right size, the machine inherits that disorder. Structure is meaning here, not decoration.

Heading hierarchy: the outline AI uses to understand you. H1, H2, H3 are the outline a machine reads to understand a page. NO HIERARCHY H1 Waterproof Boots H1 Why waterproofing matters H3 Trailblazer H1 Sizing H2 Care AI: “what is the main topic? unclear.” CLEAN OUTLINE H1 Waterproof Boots H2 Why waterproofing matters H2 Our range H3 Trailblazer H3 Summit Pro H2 Sizing & care one H1, nested H2s and H3s → a clear topic tree One H1 sets the topic; H2s and H3s nest under it. That nesting is the page's meaning. VISIBILITY MESH OUTLINE TREE VM-S-P3-06 · r1.0 CAN AI FOLLOW YOU?

The simple rules

As good practice, one H1 per page that states what the page is; neither Google nor Bing documents this as a rule. H2s for the main sections. H3s nested under the H2 they belong to. Do not skip levels for visual reasons. Style the size separately from the structural level. This is the same “structure a machine can read” instinct as format discipline.

Heading structure What AI understands
Several competing H1s No single clear topic
An H3 with no H2 above it A broken, confusing outline
One H1, nested H2s and H3s A clear topic and its sub-points
The nesting is the meaning: one H1 sets the subject, and everything beneath it is structure a machine reads.

A Shopify note

On Shopify, your blog and page templates usually render the title as the H1 automatically, so your body content should start at H2 and nest down from there. Adding a second H1 inside the body muddies the outline. Clean headings make pages easier to understand and to extract answers from, and they keep your pages legible within the mesh.

A scan is a snapshot. Legibility drifts

A clean heading outline is never settled. A redesign reshuffles the menu, an app changes URL patterns, a bulk edit orphans a page, and the structure a crawler follows regresses silently while the storefront still looks perfect to you. Your catalog and navigation change weekly, so a clean, followable structure is a moving target, not a one-time pass. That is why serious stores measure, fix, and re-measure, and why we re-scan our own store on a schedule, in public.

Questions people actually ask

Are headings just for styling?

No. To a machine, headings are structural: the H1 names the page, H2s name its main sections, and H3s name the parts within. Read in order, they form an outline a machine uses to understand how the page is organised before reading the prose.

Should I skip heading levels to get the right size?

No. Skipping from an H1 to an H4 because the smaller size looked right breaks the outline a machine reads. Keep the structural levels logical, with H3s nested under their H2, and control the visual size separately through styling.

How should headings work on a Shopify blog post?

Shopify templates usually render the post title as the H1 automatically, so your body content should start at H2 and nest down from there. Adding another H1 inside the body creates two competing titles and muddies the page's outline.


See what a machine sees

You cannot tell from your browser whether AI can read your store. You can find out in a few minutes. Run a free scan and see the exact layer the machine reads, and where you are losing the shortlist.

Run my free scan →

Sources: 2026 industry compilations on AI-search visibility; OpenAI (early 2026) on ChatGPT shopping queries; Adobe Analytics (2026) on AI retail traffic; Gartner (2024) on traditional search. Figures are third-party and current as of mid-2026; we publish our own benchmark data as our scan volume grows.

Your buyers are already asking AI. This is how you make your website readable to the assistants they ask.

Everything in this article is measurable on a live storefront. The Full Assessment and Roadmap reads your website the way AI crawlers receive it and hands you every fix in plain English, in the order we would make them.

Full Assessment and Roadmap See all assessments

See whether this applies to your site

This article is about what AI can quote; the scan checks whether your pages answer the questions buyers ask.

The free scan reads 5 pages of any website as AI crawlers receive them and returns a scorecard with 3 complete findings, each naming the page and the fix. No install, no call, no card.

Run the free scan