Blog
GEO playbook
Headings for AI Search: How to Structure H1, H2 and H3 for Google and LLMs
Headings for AI search: why they help passage extraction, question vs label headings, H1 H2 H3 hierarchy rules, a before/after outline, WCAG and a checklist.

Headings for AI search are the H1, H2 and H3 elements that label each section of a page so search engines, AI answer engines and screen readers can find, extract and cite the right passage. The working rules are one descriptive H1 that matches the page's title, H2s phrased as the questions or tasks people actually search, and H3s nested beneath them without skipping levels.
This guide explains why headings matter for passage-level retrieval, what Google and accessibility standards actually say, when to use question headings versus label headings, the hierarchy rules, a full before/after outline of one article, the WCAG angle and a checklist. For how to write the paragraphs under each heading, see how to structure content for LLM extraction; this guide stays on the headings themselves.
By KIME's Founding Engineer. Updated October 26, 2026.
Key takeaways
Google ranks passages as well as whole pages; it said in 2020 that passage understanding would affect about 7% of search queries.
Google says headings help it understand page content, but heading order, H1 count and heading count do not matter to Google Search as such.
Accessibility standards are stricter: the W3C advises against skipping heading ranks, and WCAG 2.4.6 requires headings to describe the topic or purpose of their section.
71.6% of screen reader users in WebAIM's 2024 survey start with headings when looking for information on a long page.
A 2025 analysis of more than 12,000 URLs found 68.7% of ChatGPT-cited pages used a sequential heading structure, against 23.9% of Google page-one results; that is a correlation, not proof of cause.
Question headings fit informational sections that mirror real searches; label headings fit reference sections such as pricing, specs and FAQs.
Why headings help passage extraction
AI answer engines and Google's AI features rarely use a whole page. They retrieve passages, compare them and cite the ones that answer a specific sub-question. Google has worked this way in classic search too since it began ranking individual passages in 2020. Our LLM extraction guide covers how that chunking works; the part that matters here is the role headings play in it.
A heading does three jobs for a retrieval system:
It marks a boundary. A real
<h2>or<h3>is the clearest signal of where one topic ends and the next begins. Bold paragraphs styled to look like headings do not carry that signal.It labels the passage. The heading tells the system, in a few words, what the following text is about. A passage under "How much does AP automation cost?" is easier to match to that question than the same text under "Numbers."
It provides context. The hierarchy says how a passage relates to the rest of the page: an H3 "For small businesses" under an H2 about pricing means something different from the same H3 under an H2 about features.
How much each engine relies on heading markup is not documented. Google says headings help it understand content; Bing's updated Webmaster Guidelines, as reported by Search Engine Journal, recommend keeping each URL to one topic and putting essential information near the top. OpenAI, Perplexity and Anthropic do not publish how they segment pages. The rules in this guide are therefore a mix of documented guidance and reasoned practice, and we label which is which.
In short: headings are the labels on the passages AI engines retrieve. A clear, correctly nested heading makes a passage easier to find, match and cite.
What Google and accessibility standards actually say
Much advice on headings for AI search is folklore. Here is what the primary sources say.
Question | Google Search | Accessibility (W3C, WCAG) |
|---|---|---|
How many H1s? | No limit; John Mueller said multiple H1s are not a problem (Search Engine Journal, 2021) | No explicit rule; W3C examples use a single H1 |
Does heading order matter? | Not for Google Search, per the SEO Starter Guide, which notes semantic order helps screen readers | Yes; skipping ranks should be avoided where possible |
How many headings? | No ideal number | Not specified; WCAG 2.4.10 (AAA) asks for section headings to organize content |
What should they say? | Headings help Google understand the content of a section | WCAG 2.4.6 (AA): headings must describe topic or purpose |
Must they be real heading tags? | Not stated | WCAG 1.3.1 (A): headings must be programmatically determined, so visual styling alone fails |
Relation to the title | Google's title links guidance uses the main visible title, such as the first H1, as a source for title links | Not applicable |
The practical reading: Google is tolerant of messy headings, but the systems you also want to serve (screen readers, AI parsers, people scanning) are not. Following the stricter accessibility rules costs nothing in Google and helps everywhere else.
Question headings vs label headings
A question heading is phrased as the question a reader would type or ask ("How long does AP automation take to implement?"). A label heading names the topic ("Implementation timeline"). A third type, the statement heading, gives the answer itself ("AP automation takes 4 to 8 weeks to implement"). Each has a place.
Heading type | Example | Best for | Avoid when |
|---|---|---|---|
Question | How much does AP automation cost? | Informational sections that mirror real searches and People Also Ask; FAQ items | Every heading on the page is a question, which reads like a quiz and buries the structure |
Label | Pricing by company size | Reference and navigational sections: pricing tables, specs, integrations, glossaries, key takeaways | The label is vague ("Overview," "More info," "Details") |
Statement | Most teams go live in 4 to 8 weeks | Opinion or data-led sections where the claim is the point | The claim changes often or needs heavy qualification |
Is there evidence that question headings get cited more often? Not controlled evidence that we could find. Several vendor articles recommend them without data. The reasoning is still sound: AI engines answer questions, query fan-out breaks one question into several sub-questions, and a heading that matches a sub-question in plain words gives the retrieval system an easy match. That is reasoned practice, not a documented ranking rule, so use question headings where they match real searches, not as a blanket format.
Turning weak headings into strong ones
Weak heading | Problem | Better heading |
|---|---|---|
Introduction | Says nothing about content | What is accounts payable automation? |
Why it matters | "It" means nothing out of context | Why manual invoice processing costs more than it looks |
The numbers | Vague label | How much does AP automation cost? |
Our approach | Brand-centric, no topic | How to automate invoice approvals in 5 steps |
Option 1 / Option 2 | Labels without entities | Cloud AP software vs ERP add-ons |
Final thoughts | Generic, repeated on every post | Which AP automation approach fits a 50-person company? |
H1 H2 H3 best practices: heading hierarchy rules
These are the rules we apply when writing headings for AI search. Each notes whether it is documented or reasoned.
Use one H1 that states the page's topic. Google allows more, but one clear main title is what its title link guidance prefers, and multiple H1s blur which one names the page. Keep it consistent with the title tag (see meta titles for AI search). Documented preference plus reasoning.
Make each H2 one main section answering one sub-question. If an H2 covers two questions, split it. This mirrors Bing's one-topic-per-URL guidance at section level. Reasoned.
Nest H3s under H2s, H4s under H3s, and do not skip down a level. Going from H2 straight to H4 breaks the outline for screen readers and parsers. Documented by the W3C.
Use heading tags for structure, never for styling. Do not use an H4 because it looks smaller, and do not fake headings with bold text. Documented (WCAG 1.3.1).
Write headings that make sense out of context. Name the entity: "Acme pricing" not "Pricing," "AP automation vs RPA" not "The alternatives." A passage pulled into an AI answer arrives without the rest of your page. Documented in spirit (WCAG 2.4.6), reasoned for AI.
Keep headings short. Roughly 3 to 12 words; long enough to be specific, short enough to scan. This is a convention, not a standard.
Keep every heading unique on the page. Three sections called "Overview" give a parser three identical labels. Reasoned.
Keep content under headings visible. Google's snippet guidance says "Read more" deep links are more likely when content is visible rather than hidden in tabs or expandable sections. Documented.
Give important H2s stable IDs. Anchor links such as
#pricinglet you, partners and AI tools link to the exact section. Changing IDs breaks those links. Reasoned.Keep template headings out of the content outline. Sidebars, newsletter boxes and footers that use H2s ("Subscribe," "Related posts") inject noise into the outline. Use consistent ranks for them across pages, as the W3C advises, or non-heading elements.
Heading hierarchy for LLMs: what is known
No AI company documents how its models use heading levels. The available evidence is correlational:
AirOps (2025): in an analysis of 900 queries and more than 12,000 URLs, 68.7% of ChatGPT-cited pages followed a sequential heading structure (no skipped levels), against 23.9% of Google page-one results, and 87% of cited pages had a single H1, against 64%. The report does not control for other factors such as content type or site quality.
KIME tracking data (Jul 26 to Oct 26 2026): across 30 tracked prompts about AI visibility software, the single pages cited most were listicles, comparison guides and clearly structured explainers. Those formats are heading-heavy by nature, which fits the pattern but does not isolate headings as the cause.
Both point the same way, and the mechanism is plausible: a clean outline makes chunk boundaries and labels unambiguous. But well-structured pages also tend to be better pages overall. Fix your headings because it is cheap and helps every reader, not because it is a guaranteed citation lever.
In short: sequential, descriptive headings are associated with AI citations in the data available, and they are required for accessibility anyway. Treat headings for AI search as hygiene, not a hack.
Before/after: outline of a full article
Here is the heading outline of a typical vendor blog post on AP automation, before and after applying the rules above. The body text is unchanged apart from moving paragraphs to match the new sections.
Level | Before | After |
|---|---|---|
H1 | Welcome to the Future of Finance | Accounts payable automation: a 7-step guide (with ROI worksheet) |
H2 | Introduction | Key takeaways |
H2 | Background | What is accounts payable automation? |
H4 (skipped H3) | The problem | H3: What manual invoice processing costs |
H2 | Our solution | How to automate accounts payable in 7 steps |
Bold text (not a heading) | Step one | H3: Step 1: Map your current approval workflow |
Bold text (not a heading) | Step two | H3: Step 2: Digitize invoice capture |
H2 | The numbers | How much does AP automation cost? |
H3 | Overview | Pricing by company size |
H2 | Options | Cloud AP software vs ERP add-ons vs outsourcing |
H3 | Overview | Comparison table |
H2 | Final thoughts | Which approach fits a 50-person company? |
H2 | (none) | Frequently asked questions |
H3 | (none) | How long does AP automation take to implement? |
H3 | (none) | Does AP automation work with QuickBooks? |
What changed, and why:
The H1 now names the topic and matches the title tag, so Google has one clear main title.
The skipped level is fixed: "The problem" moves from H4 to H3 under the definition section.
Fake headings become real ones: bolded "Step one" lines become H3s, so each step is its own retrievable passage.
Duplicate "Overview" labels are gone, replaced with headings that say what is underneath.
Question headings appear where people ask questions (definition, cost, fit), while reference sections keep labels (Key takeaways, Comparison table, Pricing by company size).
An FAQ section captures the remaining long-tail questions; for its markup, see our FAQ schema guide.
The accessibility angle: headings and WCAG
Headings are one of the main ways screen reader users move through a page. In WebAIM's Screen Reader User Survey #10 (1,539 responses, December 2023 to January 2024), 71.6% said they would first navigate by headings to find information on a long page, and 88.8% found heading levels very or somewhat useful.
Three WCAG success criteria apply:
1.3.1 Info and Relationships (Level A): structure shown visually must be available in code, so a heading must be a real heading element, not styled text.
2.4.6 Headings and Labels (Level AA): headings that exist must describe their topic or purpose. A correctly coded "Overview" can pass 1.3.1 and still fail 2.4.6.
2.4.10 Section Headings (Level AAA): section headings are used to organize content.
Level AA is the level regulators usually reference. The US Department of Justice's 2024 ADA Title II rule, for example, adopts WCAG 2.1 Level AA for state and local government websites (UNC School of Government summary). For many organizations, 1.3.1 and 2.4.6 are compliance requirements, not just good practice. The same descriptive, correctly coded headings that pass them are the ones an AI parser can read unambiguously, so one fix serves both audiences.
How to audit your headings
Extract the outline. Use a browser extension that lists headings, the W3C Nu HTML Checker's outline option, or a crawler that exports H1 to H3 per URL.
Read the outline alone. Without the body text, can you tell what the page covers and in what order? If not, the headings are too vague.
Flag the errors: missing or multiple H1s, skipped levels, duplicate headings, generic labels, bold text used as headings, template H2s inside the content.
Check against real questions. Compare H2s with the People Also Ask questions and the prompts you track. Missing questions are missing sections.
Fix templates first. One theme fix (for example, sidebar widgets using H2) repairs thousands of pages at once.
Measure. Track whether restructured pages start appearing as cited URLs. KIME's AI Site Health checks whether AI crawlers can access your pages and whether the content and structure let models extract what you do, and its citation analysis shows which of your URLs AI engines cite.
Headings checklist
One H1 per page that names the topic and agrees with the title tag.
Each H2 covers one main sub-question or task.
H3s sit under H2s; no level is skipped on the way down.
Every heading is a real heading element; no bold text pretending to be one.
Headings make sense out of context and name the entity (no "it," "this" or "our solution").
No duplicate or generic headings ("Overview," "Introduction," "Final thoughts").
Question headings used where they match real searches; labels for reference sections.
Headings run roughly 3 to 12 words.
Content under each heading is visible by default, not hidden in tabs.
Key H2s have stable anchor IDs.
Sidebars, footers and widgets do not insert H2s into the content outline.
Frequently asked questions
What are headings for AI search?
Headings for AI search are the H1 to H3 elements that label each section of a page so search engines and AI answer engines can find, extract and cite the right passage. They use the same HTML as classic SEO headings, but are written to make sense out of context, because AI engines often quote one section without the rest of the page.
How many H1 tags should a page have?
Use one H1 per page. Google says multiple H1s do not cause ranking problems, but its title link guidance favors one clear main title, and accessibility examples from the W3C use a single H1. One H1 that names the page topic and agrees with the title tag is the clearest signal for search engines, AI parsers and screen readers.
Should headings be written as questions?
Write headings as questions where the section answers a question people actually search, such as definitions, costs and comparisons. Use labels for reference sections like pricing tables, specs and key takeaways. No controlled study shows question headings get cited more, but they match how AI engines break queries into sub-questions, which makes them a reasonable default for informational sections.
Is it bad to skip heading levels?
Skipping heading levels does not hurt Google rankings, but it is bad practice. Google's SEO Starter Guide says heading order does not matter for Search, while the W3C advises avoiding skipped ranks because they confuse screen reader users. A 2025 analysis also found most ChatGPT-cited pages used sequential headings. Going back up levels, from H4 to a new H2, is fine.
Do headings help with AI Overviews?
Headings can help indirectly. Google says AI Overviews need no special optimization and that standard SEO practices apply. In Search, headings help Google understand page content, and passages can be ranked individually. A clear heading above a direct answer makes that passage easier to match to a question, but Google does not document headings as an AI Overviews signal.
How long should a heading be?
Keep headings to roughly 3 to 12 words. There is no official limit from Google or WCAG, which only requires headings to describe their topic. Short headings scan well in outlines and screen readers, while a few extra words let you name the entity and the specific question, which makes the section clear when an AI engine quotes it alone.
Should I put keywords in headings?
Yes, when they describe the section naturally. Headings that use the words people search help readers and search engines match sections to queries. Do not force the same keyword into every heading; Bing's guidelines now treat language engineered to trigger AI citations as a form of keyword stuffing. Variants and related questions make better H2s than repeats.
Do LLMs read the heading hierarchy?
No AI company documents how its models use heading levels, so the honest answer is probably, but unconfirmed. Many retrieval pipelines split pages at structural boundaries, and correlation studies find cited pages tend to have clean, sequential headings. Since a clean hierarchy is also required for accessibility, it is worth doing regardless of how much each model relies on it.
Can I use bold text instead of headings?
No. Bold text looks like a heading to sighted readers but is not one in the code, so screen readers, crawlers and AI parsers do not treat it as a section boundary. WCAG 1.3.1 requires headings to be programmatically determined. Use real H2 or H3 elements and style them however you like with CSS.
Related guides
Sources: Google: Search On 2020 (passage ranking) · Google Search Central: SEO Starter Guide · Google Search Central: title links · Google Search Central: control your snippets · Google Search Central: AI features and your website · Search Engine Journal: Google on H1 headings · Search Engine Journal: Bing adds GEO to its guidelines · W3C WAI: headings tutorial · W3C: Understanding WCAG 2.4.6 · WebAIM: Screen Reader User Survey #10 · UNC School of Government: ADA Title II web accessibility rule · AirOps: Structuring content for LLMs (July 2025) · KIME tracking data, Jul 26 to Oct 26 2026

Vasilij Brandt
Founder and CEO of KIME
Share


