AI search & GEO

chunking

Also called: content chunking, text chunking, document chunking

Chunking is splitting a document into smaller passages so each piece can be embedded as a vector and retrieved on its own. In retrieval-augmented generation (RAG), chunks are the units an AI pulls to ground answers, so how you split text decides what gets found and cited.

RAG systems cannot feed a whole website into a model, so they break sources into chunks (often no more than a few hundred tokens each), embed every chunk separately, and store the vectors. At query time the retriever fetches the closest chunks and hands them to the model as the context it answers from.

Why chunk size and structure decide what gets retrieved

Chunk size is the main lever. Split too small and a passage loses the context it needs to make sense. Split too large and the embedding averages several topics into one blurry vector that matches nothing well. Practitioners commonly land near 400 to 512 tokens with 10 to 20 percent overlap, so ideas that cross a boundary are not cut in half.

Common strategies, roughly in order of effort:

The failure mode is context loss. Anthropic’s example: a chunk reading The company's revenue grew by 3% over the previous quarter is useless if nothing in that chunk says which company or which quarter. Contextual chunking prepends the missing context before embedding, and Anthropic reports it cut top-20 retrieval failures by up to 49% when paired with a BM25 keyword index.

How it affects your traffic

You do not control how ChatGPT, Perplexity, or AI Overviews chunk your pages, but you control whether each section survives being chunked. Passages that state their own subject, answer one question, and do not lean on the paragraph above are the ones retrieved and cited cleanly. Pages written as run-on walls of pronouns get sliced into orphan chunks that never surface. Our AI SEO work structures content into self-contained, retrieval-ready sections so AI search engines can pull and attribute your answers.

Get AI SEO that moves the needle

We turn terms like this into ranked pages and qualified pipeline. Start with a free Initial SEO Strategy.