Heading hierarchy is the outline a page gives anyone who scans it: one H1 that names the page, H2 headings for its main sections and H3 headings for the parts inside them. Google says the order of headings does not matter to Google Search. The outline still decides how easily a reader, a screen reader or an AI system can find the right section and quote it accurately.
Fixing your headings will not move a ranking by itself. Fixing them makes each answer on the page easier to locate and easier to lift without the wrong context attached.
Does heading order affect Google rankings?
Heading order does not affect Google rankings, and Google says so plainly. Its SEO Starter Guide says that, from the point of view of Google Search, it does not matter if headings are used out of order. The same guide adds that semantic order still helps people who use screen readers.
So treat headings as an editing tool. Choosing Heading 4 because it looks elegant is a design decision, and size belongs in the theme settings instead.
Why does the outline matter to AI answers?
An assistant that answers a buyer's question usually quotes a passage, not a whole page. The heading above that passage tells it what the passage is about. When the heading says "Sizing" and the paragraph under it gives the sizing, the match is easy. When the sizing sits under a heading that says "You will love these", the passage has no label at all.
In our June 2026 study of 216 Shopify storefronts, 71% failed AI Readability, the part of our score that checks whether content is structured for extraction or buried in prose. Headings chosen for their size are one of the things that test looks at, and fixing them on a single page usually takes a few minutes.
What are the rules for a clean heading outline?
The rules are short, and every one of them is about meaning rather than looks.
- Each page has one H1 that states what the page is.
- Each main section starts with an H2, written as the question or topic that section settles.
- An H3 sits under the H2 it belongs to, never on its own.
- A level is never skipped because a smaller font looked better. Size is set in the theme, not by picking a lower heading.
| 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 |
This is the same instinct as format discipline: the same outline helps a shopper who is skimming.
How do I check and fix headings on Shopify?
Most Shopify themes print the page, product or post title as the H1 automatically. That means the body you write should start at H2 and nest down from there.
- Open the live page in your browser, right click and choose View page source. Search for "<h1" and count the results. One is right.
- Search the same source for "<h2" and "<h3" and read the headings in order. If they do not read as a table of contents, they need work.
- For a blog post, go to Content > Blog posts in your Shopify admin and open the post. Select a heading line in the editor and use the formatting menu, which shows Paragraph and Heading 1 to Heading 6. Choose Heading 2 for each main section and Heading 3 for the parts inside it.
- For a product, go to Products, open the product and do the same in the Description editor. Never use Heading 1 there, since the product title is already the H1.
- For a collection, go to Products > Collections and check the description in the same way.
- Sometimes the theme itself prints two H1 tags. In that case, open Online Store > Themes, click the three dot menu and choose Duplicate. Test the fix in the copy before you publish it.
Our guide on inspecting the raw HTML of a page shows how to see exactly what a crawler receives.
How would an outdoor footwear shop repair a boot guide with three H1 tags?
An outdoor footwear shop on Shopify sells 25 hiking boots and publishes a buying guide called Waterproof Boots. Its author wrote the guide in the editor by picking whatever size looked right. It has three H1 tags, a model name set as an H3 with no H2 above it, and sizing advice under a heading that just says "Fit".
The owner rewrites the outline in twenty minutes. The theme keeps the post title as the only H1. The sections become H2 headings phrased as questions: "Why does waterproofing matter on a hiking boot?", "Which of our boots suits wet trails?" and "How should a hiking boot fit?" Each model sits as an H3 under the range section. Every answer in the guide now sits under a label that matches the question a buyer would type.
What else should headings do?
A heading phrased as the question a buyer asks does double duty. It tells the reader where the answer is, and it gives an answer engine a ready made match for the question. Our guide to question coverage shows how to find the phrasing buyers use, and answer extractability shows how to write the first sentence under each heading so it can be quoted on its own.
The Full Assessment and Roadmap reads the heading outline and text of up to 1,000 of your pages. It lists every page where the structure gets in the way, in the order we would fix them.
Questions owners ask
Does heading order affect my Google ranking?
Google says it does not. Its SEO Starter Guide says it does not matter to Google Search if headings are used out of order. A clean outline still helps screen reader users and makes each answer on the page easier for a person or an AI system to find.
Should I skip heading levels to get the right text size?
Skipping levels causes more trouble than it saves. Keep the levels logical, with each H3 under its H2, and set the size in your theme. Picking a heading level for its size breaks the outline that readers and machines use to understand the page.
How many H1 headings should a page have?
A page should have one H1. On most Shopify themes the title of the page, product or post is already the H1, so start your own headings at Heading 2 in the editor. You can check by searching the page source for "<h1".
Should headings be written as questions?
Where it reads naturally, yes. A heading in the words a buyer uses tells the reader where the answer is and gives an answer engine a clear match for that question. Put the direct answer in the first sentence under the heading.
Sources
- SEO Starter Guide, Google Search Central, read November 9, 2026.
- The State of AI Visibility 2026, Visibility Mesh, 216 Shopify storefronts scored in June 2026.