GeoPageScore

How to optimize content for AI search, with before and after examples

To optimize content for AI search, write each section so that one passage can answer on its own: the answer in the first sentence, a heading that says what the section answers, every figure with its source and year in the same sentence, and the text in the HTML. Google says no special writing style is needed for its AI features; these are editing habits that help any reader who lands mid-page, and Microsoft lists most of them for Bing and Copilot answers. Paste an article into the analyzer below to check its structure before you publish.

An article outline read section by section, next to a first sentence rewritten from an announcement into an answer
Each section of an article is read on its own: its heading, its first sentence and the figures it states.
On this page

AI search builds its answers from passages of pages it has already found

AI answer engines first find pages through a search index, then write an answer from passages of those pages and link to them. Google describes the first step for AI Overviews and AI Mode in its guide to generative AI features in Search, last updated on 10 July 2026:

Retrieval-augmented generation (RAG): A technique (also known as grounding) used to improve the quality, accuracy, and freshness of AI responses by relying on our core Search ranking systems to retrieve relevant, up-to-date web pages from our Search index.

Google Search Central, Optimizing your website for generative AI features on Google Search

The same page describes query fan-out: the model runs several related searches, so a page can be retrieved for a sub-question its title never mentions. Microsoft says more about the next step. In a post on the Microsoft Advertising blog dated 8 October 2025, Krishna Madhavan explains that assistants such as Copilot break pages into smaller pieces before assembling an answer:

In AI search, ranking still happens, but it’s less about ordering entire pages and more about which pieces of content earn a place in the final answer.

Krishna Madhavan, Microsoft Advertising blog, Optimizing Your Content for Inclusion in AI Search Answers

For a writer, the consequence is concrete. A passage may be read without the paragraph before it, without the title above it and without the page around it. Which pages an engine picks in the first place, and what is proven about it, is the subject of our guide to generative engine optimization. On writing itself, only two engines publish advice:

What each AI search engine documents about writing content
EngineWriting advice publishedWhat its documentation says
Google (AI Overviews, AI Mode)Yes, on Search CentralApply SEO basics and write people-first content; no special format, no chunking, no special markup
Microsoft (Bing, Copilot)Yes, a blog post of 8 October 2025Clear headings, lists and tables, self-contained sentences, nothing important only in tabs, images or PDFs
OpenAI (ChatGPT search)NoCrawler page: allow OAI-SearchBot to appear in ChatGPT search; nothing on writing
Anthropic (Claude)NoHelp page on ClaudeBot, Claude-User and Claude-SearchBot; nothing on writing
PerplexityNoBot page on PerplexityBot and Perplexity-User; nothing on writing
Pages read on 25 October 2026. Anthropic’s help page is dated 7 April 2026.

The two engines that speak about writing do not say the same thing: Google insists that no special format is needed, Microsoft lists formats it can lift. The practices below satisfy both. Each one helps a person who lands in the middle of a page, and each one is on Microsoft’s list or follows from Google’s guide to helpful, reliable, people-first content.

Check the structure of an article for AI search before it goes live

Paste a draft in Markdown or the HTML of an article, or load the two examples: a first draft and the same article after editing. The analyzer shows the heading outline, how each section opens, the paragraphs over 150 words, the figures with no source in their sentence and the sections that open with a word pointing back, such as “It” or “However”. It counts and quotes; it does not grade. Each warning links to the part of this guide that explains it.

The analysis runs in your browser. Nothing is sent or kept. HTML can be a whole page: only its article or main zone is read.

Words
207
Sections
4
Headings
4
Sentences with a figure
1

Read as Markdown.

What the analyzer found

  • 1 heading skips a level, the first from H2 to H4. Why it matters
  • 2 generic headings: “Overview”, “Key takeaways”. Read alone, they do not say what the section answers. Why it matters
  • The article opens with an announcement: “In this article, we will look at whether fresh content matters for AI search and what you should do about it.” Why it matters
  • 2 sections open with a word that leans on earlier text: “It”, “However”. Why it matters
  • 1 paragraph is longer than 150 words; the longest has 158. Why it matters
  • 1 of 1 sentence with a figure names no source in the same sentence. Why it matters
  • 1 of 3 section headings is a question. Why it matters
  • 1 of 1 sentence with a figure gives no year. Why it matters
  • None of the 3 sections opens with an announcement.

Heading outline

  1. H1Fresh content and AI search
  2. H2Overview Generic
  3. H4What about Google? Skips from H2 Question
  4. H2Key takeaways Generic

How each section opens

  1. H1 · Fresh content and AI search21 words
    Opens with an announcement

    In this article, we will look at whether fresh content matters for AI search and what you should do about it.

  2. H2 · Overview158 words
    Opens with a statement Leans on earlier text: “It”

    It depends on the assistant.

  3. H4 · What about Google?9 words
    Opens with a statement

    Google is different.

  4. H2 · Key takeaways8 words
    Opens with a statement Leans on earlier text: “However”

    However, changing the date alone does not help.

Figures with no source in the same sentence

  • AI assistants cite content that is 25.7% fresher than the pages that rank in Google.In “Overview”

Very long paragraphs

  • It depends on the assistant. AI assistants cite content that is 25.7% fresher than the pages that rank in Goo…158 words · In “Overview”

The analyzer describes the text you paste: it gives no score and fetches nothing. Figures are sentences with a percentage, an amount, a ratio, a multiple or a large number; a source is a link, a named study or report, “according to” or a reference such as (Ahrefs, 2025) in the same sentence. Paragraphs over 150 words are listed by a reading convention of this tool; no search engine publishes such a limit.

Put the answer in the first sentence of the page and of each section

Open the article with the answer to the question in its title, and open each section with the answer to its heading. A reader who arrives from an AI answer lands on a passage, and the first sentence decides whether the passage holds the answer or only promises it.

Kevin Indig, a growth advisor, measured where ChatGPT takes its citations from inside a page. His analysis, published on 16 February 2026 in his Growth Memo newsletter and summarised by Search Engine Land two days later, matched 18,012 verified citations to the sentences they came from:

Where ChatGPT citations come from inside a page
Position in the page or paragraphShare of citations
First 30% of the content44.2%
Middle of the content, 30 to 70%31.1%
Last 30% of the content24.7%
First sentence of a paragraph24.5%
Middle of a paragraph53%
Last sentence of a paragraph22.5%
Source: Kevin Indig, The science of how AI pays attention, 16 February 2026; the full report is for subscribers, and the figures above are those reported by Search Engine Land on 18 February 2026. Observational data on ChatGPT only; the summary gives the size of the dataset as 1.2 million answers in one place and 3 million responses in another.

The two halves of the table point in different directions. At page level, the top carries the most weight, which supports an answer in the first lines. At paragraph level, most citations come from the middle of a paragraph, so the data does not ask for a punchline at the start of every paragraph. Write the opening of the page and of each section as an answer, then write the paragraphs for clarity.

Before

Does Google need special markup for AI Overviews?

Structured data has been debated for years, and generative AI has revived the question. Before answering, let’s look back at how schema.org started.

After

Does Google need special markup for AI Overviews?

No. Google says there is no special schema.org markup to add for AI Overviews or AI Mode: a page needs to be indexed and eligible to show a snippet. Structured data still helps a page qualify for rich results.

The answer moves into the first sentence. Facts from Google’s AI features guide and its generative AI optimization guide, read on 25 October 2026.

An answer first does not make a page short. Google’s guide says there is no ideal page length. The first sentence answers; the rest of the section gives the reasons, the conditions and the exceptions.

Write passages that still make sense when an LLM quotes them alone

A passage lifted into an answer loses everything around it. Write each section so its first paragraph names its subject and does not lean on the paragraph before. Microsoft’s post lists this among the traits of content an assistant can lift:

Self-contained phrasing: Sentences that make sense even when pulled out of context.

Krishna Madhavan, Microsoft Advertising blog, Optimizing Your Content for Inclusion in AI Search Answers

Four habits break a passage once it is read alone:

  • A section that opens with a pronoun (“It is blocked by default”) or a link word (“However, the second option…”), which needs the previous section to be understood.
  • A shorthand defined once at the top of the page (“the bot”, “this method”), which means nothing three sections later.
  • A reference to the layout (“as shown above”, “in the table below”), which points to something the answer does not carry.
  • A wall of text, which Microsoft lists among the common mistakes, where several ideas share one block and no part answers a single question.
Before

Blocking the search crawler

It also applies here, as mentioned above. This is why the second option is usually safer.

After

Blocking OAI-SearchBot

OAI-SearchBot is the crawler behind ChatGPT search. According to OpenAI’s crawler documentation, a site that opts out of it in robots.txt is not shown in ChatGPT search answers, though it can still appear as a navigational link.

The subject is named and the fact carries its source. Facts from OpenAI’s crawler documentation, read on 25 October 2026.

Repeating the name of the subject costs a few words and makes each section usable on its own. The analyzer flags sections that open with words such as “This”, “It”, “However” or “Also”, and leaves out impersonal openings such as “It is possible to”. It also lists paragraphs over 150 words. No engine publishes a length limit; 150 words is our own reading mark, a size at which a paragraph often holds more than one idea.

Write headings that say what the section answers

A heading read alone should tell the reader, and a passage extractor, what the section answers. Google’s guide to helpful content asks the question of the page title, and it holds for every heading:

Does the main heading or page title provide a descriptive, helpful summary of the content?

Google Search Central, Creating helpful, reliable, people-first content
Generic headings and headings that say what the section answers
Generic headingHeading that says what the section answers
OverviewWhat OAI-SearchBot does
IntroductionDo AI crawlers run JavaScript?
Learn moreHow to allow OAI-SearchBot in robots.txt
PricingHow much the Pro plan costs per month
Key takeawaysNo heading: the answer already opens the page
Microsoft’s post gives the same kind of example: “What Makes This Dishwasher Quieter Than Most Models?” instead of “Learn More”.

Question headings help when readers really ask that question. In Kevin Indig’s February 2026 analysis, 78.4% of the ChatGPT citations tied to a question came from a heading. A question that nobody asks, or that the section does not answer in its first sentence, adds nothing; a descriptive heading does the same job when the topic is not a question.

Keep the levels in order: one H1 for the title, H2 for the sections, H3 inside an H2. A jump from H2 to H4 leaves a reader, or a parser, unsure which section the H4 belongs to. Google recommends semantic HTML when possible because it helps screen readers parse and navigate a page, and Microsoft asks for an H1 that matches or closely reflects the title tag.

Use lists for steps and tables for comparisons

Use a numbered list when the order matters, a bulleted list for items of the same kind and a table when several items share the same attributes. Microsoft’s post calls them clean, reusable segments, with a limit:

Bullets work best for key steps, comparisons, or highlights. Not for every line of content.

Krishna Madhavan, Microsoft Advertising blog, Optimizing Your Content for Inclusion in AI Search Answers
Which format fits which content
ContentFormat
Steps that must happen in orderNumbered list
Items of the same kind, in no particular orderBulleted list
Several items compared on the same attributesHTML table with a caption and a header row
A reason, a condition, a nuanceParagraph

A table built in HTML, with <table>, a caption and header cells, can be read as text; the same table pasted as an image cannot, or only through text recognition. Microsoft names important information placed only in images among the mistakes that hurt visibility in AI search. Google, for its part, asks for no list or table: it notes that people appreciate pages organised in paragraphs and sections with clear headings.

Give every figure its source and its year in the same sentence

Put the source and the year of a figure in the sentence that states it. A footnote, a source list at the bottom or a link three paragraphs up stays behind when the sentence is quoted alone, and the reader of the answer cannot check the figure. Google’s guide to helpful content counts “clear sourcing” among the things that make content trustworthy.

What the Princeton GEO study measured

The study usually quoted for this advice is “GEO: Generative Engine Optimization”, by Pranjal Aggarwal and colleagues from Princeton University and IIT Delhi, presented at KDD 2024. On the 1,000 test queries of their 10,000-query benchmark, the authors rewrote one of the five sources retrieved from Google with GPT-3.5 Turbo, using nine methods one at a time, and measured how much of the generated answer that source then took up.

Results of the GEO study, as its authors report them
Methods testedResult reported
Cite Sources, Quotation Addition, Statistics Addition30 to 40% relative gain on Position-Adjusted Word Count, 15 to 30% on Subjective Impression
Fluency Optimization, Easy-to-Understand15 to 30% gain in visibility
Keyword StuffingLittle to no improvement; 10% below the baseline in the Perplexity test
Perplexity.ai test, 200 queriesQuotation Addition best, 22% gain on Position-Adjusted Word Count
Source: Aggarwal et al., GEO: Generative Engine Optimization, KDD 2024, arXiv version of 28 June 2024.

The study measures the share of an answer taken by a source that was already among the five retrieved pages; it does not measure whether a page gets retrieved, ranked or clicked. The answers came from GPT-3.5 Turbo, a language model wrote the rewrites, and the Perplexity test used uploaded files instead of live pages. The paper does not report checking that the statistics and quotations it added were accurate. What it supports is narrower than the “up to 40%” often quoted: within one answer, a source with cited sources, quotations and figures took more room than the same source without them.

How to attribute a figure inside the sentence

Name the source, give the year or the date of the data, and link to the page that publishes the figure, all in the same sentence. A figure from your own data needs the same treatment: say who measured it and when, such as “our customer survey, March 2026”.

Before

Adding statistics increases AI visibility by 40%.

After

In the GEO study presented at KDD 2024, adding statistics, quotations or cited sources to one source page raised that page’s share of a GPT-3.5 Turbo answer by 30 to 40% on the study’s main measure.

The figure keeps its source, its year and its scope when the sentence is quoted alone.

The analyzer flags each sentence with a percentage, an amount, a ratio, a multiple or a large number that has no link, no named study or report and no reference such as “(Ahrefs, 2025)” in the same sentence, and notes the ones that give no year.

Name the products, people, places and dates you mean

Write the full name of what you refer to at least once per section: the product and its maker, the person and their role, the place, the date. “The tool”, “the update” or “last year” mean nothing in a passage read alone, and “last year” changes meaning every January.

In Kevin Indig’s February 2026 analysis, heavily cited text had 20.6% proper nouns on average, against 5 to 8% in typical English text. The figure is a correlation observed on ChatGPT alone; it describes cited passages and sets no ratio to aim for. Microsoft’s post gives the product version of the same advice:

Add context. A product page should say “42 dB dishwasher designed for open-concept kitchens” instead of just “quiet dishwasher.”

Krishna Madhavan, Microsoft Advertising blog, Optimizing Your Content for Inclusion in AI Search Answers
Before

Its AI feature uses the index, like the other one.

After

Google AI Overviews and AI Mode retrieve pages from Google’s Search index, according to Google’s guide to generative AI features, updated on 10 July 2026.

Every “it” and “the other one” becomes a name, and the date belongs to the source.

Show a visible date and a named author, and keep the dates consistent

Show the publication date, and the update date when there is one, near the title with a label such as “Published” or “Last updated”, and use the same dates in the structured data. Google’s guide to byline dates asks for exactly that:

Make your dates and times consistent. Ensure that the date (and optional time and timezone) match between the equivalent user-visible and structured values.

Google Search Central, Influence your byline dates in Google Search

In Ahrefs’ data, recency counts more for some assistants than for others. In a study published on 28 July 2025, Ahrefs compared the age of 16.975 million URLs cited by AI assistants with the pages in Google’s organic results:

Average age of cited pages, in days
PlatformSince publicationSince last update
ChatGPT, citations958989
ChatGPT, references in the text1,023865
Copilot1,056865
Gemini1,118831
Perplexity, in-text citations1,166993
Google organic results1,4161,047
Google AI Overviews, top three citations1,4321,067
Source: Ahrefs, 28 July 2025, URLs from Ahrefs Brand Radar. Correlational data. The article’s text gives 1,432 days for organic results where its table gives 1,416; the table is reproduced here.

The gap is wide for ChatGPT and absent for AI Overviews, and on every platform the cited pages are still more than two and a half years old on average. A real update is worth showing. A new date on an unchanged page is what Google’s guide to helpful content warns against:

Are you changing the date of pages to make them seem fresh when the content has not substantially changed?

Google Search Central, Creating helpful, reliable, people-first content

Sign the article with a real name that links to an author page. The same guide asks whether pages carry a byline where one might be expected, and calls “fabricating creator profiles” a form of deception.

Keep the main text in the HTML, outside images, PDFs and closed tabs

Make sure the text that answers is in the HTML the server sends. In a study published on 17 December 2024, Vercel found that none of the major AI crawlers it measured render JavaScript, including those of OpenAI, Anthropic and Perplexity; Gemini, which relies on Googlebot, and Applebot do. A main text that appears only after a script runs is missing for the others.

Google, which renders JavaScript, still lists “making sure that important content is available in textual form” among the SEO basics for its AI features. Microsoft is more specific about what to avoid:

Don’t hide important answers in tabs or expandable menus: AI systems may not render hidden content, so key details can be skipped.

Krishna Madhavan, Microsoft Advertising blog, Optimizing Your Content for Inclusion in AI Search Answers

Tabs that are in the HTML, and tabs that are not

Google’s guide to helpful content counts tabbed or expanded sections as part of a page’s main content. Text inside a closed <details> element, or a tab whose text is already in the HTML, is in the source a crawler receives. Text that a tab loads from the server on click is not.

Microsoft adds two more cases: core information kept only in a PDF, which lacks the headings and metadata of an HTML page, and information kept only in an image. To see what a crawler that runs no JavaScript receives, our ChatGPT SEO guide shows the raw text of an HTML page. To control which parts of a page Google may quote, see our guide to Google AI Overviews and its snippet directives.

Google says chunking, special AI files and rewrites for AI systems are not needed

Google’s guide to generative AI features lists tactics that do nothing for Google Search. Two concern writing directly:

There's no requirement to break your content into tiny pieces for AI to better understand it. Google systems are able to understand the nuance of multiple topics on a page and show the relevant piece to users.

Google Search Central, Optimizing your website for generative AI features on Google Search

You don't need to write in a specific way just for generative AI search.

Google Search Central, Optimizing your website for generative AI features on Google Search

The same page says that Google Search ignores llms.txt and similar files, that its AI features need no special schema.org markup, and that seeking inauthentic mentions is less helpful than it seems. It also warns that creating separate pages for every variation of a query, fan-out queries included, mainly to manipulate AI responses breaks its scaled content abuse policy. Our llms.txt guide covers the file in detail.

None of this contradicts the earlier sections. Answering first, naming the subject and sourcing figures are habits of clear writing that Google’s guide to helpful content already asks for, and they promise no citation. What Google rules out is cutting an article into many thin pages, or rewriting it in a style meant for machines.

Check the published page as well as the draft

The analyzer reads the text you paste. A published page can still fail where the text is fine: a robots.txt rule that keeps an AI crawler out, a noindex or nosnippet directive, a main text that only appears after JavaScript runs, dates that disagree between the page and its markup.

Our GEO audit fetches the live page and reports on those points, along with the opening of the page, the sources of its figures, its structure and its trust signals, then lists what to fix first. It measures how ready a page is to be found, extracted and cited; it does not measure whether an AI answer cites it today. A sample GEO page audit shows a full report, and our guide to AI search optimization turns these checks into a list for each type of page.

Check a page’s content for AI search

Questions about optimizing content for AI search

How do I optimize content for AI search?

Write each section so one passage can answer on its own: answer in the first sentence, use a heading that says what the section answers, give every figure its source and year in the same sentence, name products, people and dates explicitly, and keep the text in the HTML. Google says no special format is needed for its AI features; these habits help readers and make passages easier to quote.

Do I need to write differently for Google AI Overviews?

No. Google’s guide to generative AI features says you don’t need to write in a specific way just for generative AI search, and that a page needs to be indexed and eligible to show a snippet, on a site included in generative AI features in Search Console. Clear, sourced, people-first content serves classic results and AI Overviews alike.

Should I break my content into chunks for AI search?

Not for Google, which says there is no requirement to break content into tiny pieces. Microsoft advises against walls of text and for sentences that make sense out of context. Clear sections with descriptive headings meet both positions without splitting a page into many thin pages.

How long should an answer be for AI search?

No AI search engine documents an ideal length. Google says there is no ideal page length, and Microsoft describes concise answers as one- to two-sentence responses that directly address a question. Answer in the first sentence or two, then give the details the reader needs.

Does schema markup help content appear in AI answers?

Google says no special schema.org markup is needed for its AI features, recommends structured data for rich results and asks that it match the visible text. Microsoft says schema helps machines interpret content. No engine documents that markup alone earns a citation.

Do question headings help with AI search?

They help when readers really ask that question and the section answers it in its first sentence. In Kevin Indig’s February 2026 analysis of ChatGPT citations, 78.4% of the citations tied to a question came from a heading. A descriptive heading does the same job when the topic is not a question.

Can I use AI to write content for AI search?

Google accepts content made with generative AI tools when it meets Search Essentials and its spam policies, and its quality guidelines treat large amounts of AI text produced without human oversight as little to no effort. Check every figure and quotation a model writes before you publish.

How do I know if my content appears in AI answers?

For Google, the Generative AI performance report in Search Console shows how content performs in its generative AI features. GeoPageScore does not measure presence in AI answers: it audits whether a page is ready to be found, extracted and cited.