For the complete documentation index, see llms.txt. Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.
Skip to content

Blog · Content Strategy

AI search chunking: How engines split your page before they quote it

Chunking is how retrieval systems split a page into smaller passages before scoring them against a question. Each chunk competes on its own, so a section that depends on the paragraph above it loses meaning when cut out. Write each section to answer one question in its first sentence and to make sense when read alone.

7 days free · card required

Answer · ChatGPTasked

Question: how does AI pick which sources to cite

ChatGPT answered: There are actually two separate decisions: … And importantly, the number of sources retrieved can be larger than the number actually cited. OpenAI explicitly notes that the Sources list can contain more URLs than the inline citations because only the most relevant references are normally surfaced as citations. … Question → search queries → candidate sources → assess relevance/quality/freshness → synthesize answer → attach the strongest supporting sources to individual claims.

Sources cited

  1. 1developers.openai.com
  2. 2help.openai.com

Not namedAttensira is missing from this ChatGPT answer.

Analyst agentAnalyst · reads this workspace's answersattensira.com workspace, read over the Attensira MCP · · 1 stored answer
Karl-Gustav KallasmaaKarl-Gustav Kallasmaa, Founder & CEO

Last updated

Key facts

When an AI search engine answers a question from the web, it does not read your page the way a person does, top to bottom with everything in mind. It reads pieces. The page is cut into passages, each passage is scored against the question, and only the best few are handed to the model that writes the answer.

That cutting step is chunking. It explains a lot of behaviour that otherwise looks random: why an engine quotes the wrong row of your table, why a page that clearly answers a question is passed over, why a single paragraph from deep in a long article ends up in an answer. For the short definition, see the glossary entry on chunking.

What is chunking, exactly?

Chunking is splitting a document into smaller passages before indexing it for retrieval. The usual pipeline, often called retrieval-augmented generation, has four steps:

  1. Split. The page is cut into chunks, usually by length, sometimes along headings or paragraphs, often with some overlap so a sentence at a boundary appears in two chunks.
  2. Index. Each chunk is turned into a form that can be searched, such as an embedding vector, a keyword index, or both.
  3. Retrieve. When a question arrives, the chunks most similar to it are pulled, from your page and many others.
  4. Generate. The model writes the answer from those chunks, and links the pages they came from.

The consequence is simple and important: your page competes chunk by chunk. A brilliant page with one weak section is, to the retriever, a set of strong chunks and one weak one. A mediocre page with one perfect paragraph can win on that paragraph alone.

What do the engines actually document about chunking?

Very little, and it is worth being honest about that. ChatGPT search, Perplexity, Claude and Google's AI features do not publish their chunk sizes, overlap or scoring.

The clearest documented example comes from a developer product. OpenAI's file search, part of its API, splits files into 800-token chunks with 400 tokens of overlap by default, and lets developers change both. That is not how ChatGPT search reads the web, and nobody outside OpenAI knows whether its web pipeline is similar. It is useful only as a picture of what chunking looks like when someone writes it down: fixed-length windows that ignore your headings, overlapping so nothing falls in a gap.

Google, for its part, says there is no special markup needed for its AI features: a page has to be indexed and eligible to show with a snippet. Chunking is not a setting you can change. It is something you write for.

What does chunking do to a real page?

Here is what it looked like on one of ours. On 2026-10-03, two of three ChatGPT answers to "Attensira vs Profound" reproduced a single row from a table on our old comparison page, the row that marked crawler analytics as missing for us. The page around that table had other, newer statements. The row travelled on its own, without them.

That is chunking behaviour. A table row is a compact, question-shaped piece of text: "Crawler analytics: Attensira No, Profound Yes". It scores well against a comparison question. The paragraph elsewhere on the site that said the feature had shipped was in a different chunk, on a different page, and lost.

Three things to take from it:

  • Each chunk is judged without its neighbours. A caveat in the next paragraph does not travel with the claim.
  • Compact, structured text scores well. That is good when it is right and bad when it is stale.
  • Your own pages compete with each other. The chunk that best matches the question wins, even if another of your chunks is more accurate.

We wrote up the stale-page side of this in freshness conflicts.

How do you write sections that survive chunking?

One question per section

Give each section a heading phrased as the question it answers, and keep the section on that question. A section that answers two questions becomes a chunk that half-matches both and fully matches neither.

Answer in the first sentence

The opening sentence of a section is the one most likely to land in the same chunk as the heading. Put the answer there. Background and nuance come after.

Repeat the subject; drop the pronouns

"It supports this on Growth" means nothing once cut out. "Attensira's AI crawler traffic is available on Growth and above" survives. Name the subject in each section's first sentence, even if it feels repetitive to a human reader.

Keep facts out of positional context

"As mentioned above", "see the table below", "the second option": these break when the section is read alone. State the fact where it is used.

Make tables self-explaining

A table split across chunks can lose its header, leaving cells that mean nothing. Keep tables short, use full words in cells rather than ticks, and state the table's main finding in a sentence before it.

Do not hide text behind scripts

Text that only appears after JavaScript runs, inside tabs or click-to-expand widgets, may never be fetched at all by a crawler that does not run scripts. If it is not in the HTML, it cannot be chunked, so it cannot be quoted.

What do those habits change in one section?

A worked example, not one of our pages: one section rewritten for a retriever that reads it alone. The positional references and the missing subject go; the product name, the plans and the setting come in. Same question, about the same length.

Pull requestexample-co/website · #128

Make the export section answer on its own

attensira

content/pricing.md

  1. unchanged: ## Which plans include CSV export?
  2. removed: As mentioned above, it depends on your plan.
  3. removed: It is switched on for the two higher tiers. See the table below.
  4. added: Example Co's CSV export is included on the Team and Enterprise plans.
  5. added: An admin switches it on in workspace settings; the Free plan has no export.
Example · worked example

What does a chunk-proof section look like?

Here is one section rewritten, before and after. The question is "Which engines does the product read?"

Before:

As mentioned above, coverage depends on your plan. On the entry plan we read four of them, and the fifth comes with the next tier up. It is switched on by hand. See the table for details.

Read that paragraph alone, the way a retriever would after cutting it out. "Above" points at nothing. "Them" has no subject. "The fifth" is a mystery. "The table" may be in another chunk entirely. A retriever scoring it against "which engines does Attensira read" finds no engine names and no brand name. It loses to any page that states the list plainly.

After:

On the Starter plan, Attensira reads ChatGPT, Perplexity, Claude and Google AI. Gemini is added on the Growth and Business plans, and is switched on by hand in the workspace settings. Engines that are not read are shown as not measured, never as zero.

The rewrite names the subject, lists the engines, states the condition and closes the obvious follow-up question. It is the same length. It makes sense with nothing around it, and it matches the question's words, so it scores well against it.

Three habits produce sections like that without much effort:

  • Write the section's first sentence last. Once the section is written, you know what it says; then write the one sentence that says it, and put it first.
  • Read each section cold. Open the page, scroll to a random heading, read only that section. If you need to scroll up to understand it, a retriever will not understand it either.
  • Keep one owner per fact. If the engine list appears in five places, four of them will eventually be wrong. State it fully on the page that owns it and link there from the others.

Does this mean long pages are bad?

No. Long pages are fine if they are made of self-contained sections. A long guide where every section answers one question in its first line is, to a retriever, a stack of strong chunks, each able to win a different question. That is often better than ten thin pages.

What hurts is dependence: the narrative essay where paragraph six only makes sense after paragraph five. Readers enjoy that. Retrievers cannot use it.

A practical test: copy any single section of your page into an empty document. If someone reading only that section would learn the answer to its heading, it will survive chunking. If they would be confused, rewrite the first two sentences.

How do you check whether your chunks are being used?

Ask the questions your page answers, on several engines, several times. For each answer:

  • Did it cite your page?
  • Which passage did it use? Compare the wording.
  • Was the passage it used the one you would have chosen?

If engines cite you but use the wrong passage, your best passage is not your best-matching chunk. Move it up, make its first sentence answer the question directly, and remove the competing passage if it is out of date.

Count the results over several days. A single answer tells you what happened once.

How does Attensira work with chunking?

Chunking is invisible until you read which passage an answer used, so Attensira keeps every answer to the questions you track, verbatim, on ChatGPT, Perplexity, Claude and Google AI, with Gemini from Growth, with the pages it cited. When an answer leans on the wrong passage of your page, or on a stale one, the crew drafts a passage rewrite: the exact text it read on your live page beside the replacement, so you can see what changes. A rewrite is refused if the passage is not on the live page exactly as read. You approve it, it ships as a pull request or CMS draft, and the same questions are re-read afterwards and reported with their sample size.

That is the service of an SEO agency at the price of a tool. See the content optimization workflow, or read answer blocks for how to write the first passage of a page.

Does one engine name us more than the other?

The same 61 questions, read in ChatGPT and in Perplexity, counted apart. The two name attensira.com at about the same rate; a gap this small is inside the noise, so it is not a finding.

of ChatGPT answers name attensira.com
4.2%
n=2,346 answers
of Perplexity answers name attensira.com
4.5%
n=2,172 answers
link to it, ChatGPT / Perplexity
6.6% / 3.9%
n=4,518 answers
Analyst agentAnalystattensira.com workspace, Attensira MCP, ChatGPT and Perplexity · n=4,518 answers · to

What else do people ask?

What is chunking in AI search?
Chunking is splitting a document into smaller passages before it is indexed for retrieval. Each chunk is scored against a question on its own, and only the best-scoring chunks are passed to the model that writes the answer. A page is therefore judged passage by passage, not as a whole.
How big are the chunks ChatGPT or Perplexity use?
They do not publish it. The one documented default we know of is OpenAI's file search in its API, which splits files into 800-token chunks with 400 tokens of overlap unless you change it. That is a developer tool, not ChatGPT search, so treat it as an example of how retrieval works rather than a rule for web pages.
Should I make my pages shorter for AI search?
No. Length is not the problem; dependence is. A long page made of self-contained sections is easier to retrieve from than a short page where every paragraph leans on the one before. Write sections that each answer one question and still make sense when read alone.
Do tables and lists survive chunking?
Often badly. A table split across chunks can lose its header row, so a cell ends up without the column that explains it. State the key fact from a table in a sentence too, and keep tables short enough to stay in one piece.

Where do these facts come from?

3 sources: each statement with the page it came from and the day it was checked.

  1. OpenAI's file search indexes files by splitting them into 800-token chunks with 400-token overlap by default, adjustable with a chunking strategy.

    platform.openai.com · retrieved

  2. Google says a page must be indexed and eligible to be shown with a snippet to appear in its AI features, with no special markup required.

    developers.google.com · retrieved

  3. Attensira's page reads fall back to a plain HTTP fetch with no JavaScript rendering, and a page built entirely in JavaScript may come back empty.

    docs.attensira.com · retrieved

Want software that does your AI-search visibility work, with you in control of every change?

7 days free · card required