Content chunking is splitting a long piece of text into smaller, self-contained sections, so that people can scan it and machines can find, store and quote each part on its own. In AI search the word has a precise meaning: retrieval systems cut documents into chunks of a few hundred tokens before they search them.
What is content chunking? #
The word is used in 2 related ways.
- For writers: breaking a page into short sections, each under a clear heading, each answering one question. A reader can jump to the part they need.
- For AI systems: the step in retrieval-augmented generation (RAG) where a program cuts documents into pieces, turns each piece into embeddings and stores them for vector search. When someone asks a question, the system fetches the chunks that match best and hands them to the large language model.
The 2 meanings meet in the middle. A page written in clean, self-contained sections is also a page that survives being cut up by a machine.
How does machine chunking work? #
Anthropic’s article on contextual retrieval (19 September 2024) describes the usual RAG set-up: the knowledge base is split into chunks, usually no more than a few hundred tokens each. OpenAI’s retrieval guide gives its own defaults: files are split into 800-token chunks with a 400-token overlap. The chunk size can be set from 100 to 4,096 tokens, and the overlap must not be more than half the chunk size.
The overlap matters. If a sentence falls across a cut, the overlap makes sure it appears whole in at least one chunk. A token is a small piece of text, often part of a word. Our page on AI tokens explains how they are counted.
What goes wrong when text is chunked? #
A chunk can lose the facts around it. Anthropic gives an example of a chunk that says revenue grew by 3% over the previous quarter. On its own it does not say which company or which quarter. A search for that company’s results may then miss it. Anthropic’s fix is to add a short line of context to each chunk before it is stored. In its tests, failed retrievals among the top 20 chunks fell from 5.7% to 3.7% with contextual embeddings, to 2.9% when combined with contextual keyword search, and to 1.9% with a reranking step added. Those are Anthropic’s figures for its own tests.
Why does it matter for search? #
Google has looked at pages in parts for some time. Its guide to ranking systems describes passage ranking as an AI system that picks out individual sections, or passages, of a page to judge how relevant the page is to a search. A long page with one clear section on your exact question can still be found for it, if that section stands up on its own.
Chunked writing also helps with a featured snippet or a People also ask answer. Both lift a short passage out of a page. A passage that starts with a direct answer is easier to lift.
Why does it matter for AI answers? #
When an assistant answers from the web, it rarely reads your whole page into the answer. It fetches, cuts and picks. Google’s page on AI features and your website says AI Overviews and AI Mode use query fan-out, running many related searches across subtopics. Each of those searches may want a different part of your page. If each part is clear on its own, more of them can be used. Google also says there are no special optimisations needed for these features, and lists plain good practice: put key content in text, link to it from your own pages and keep structured data in line with the visible page.
So chunking is not a trick. It is writing each section so it would still make sense if it were the only thing a reader, or a machine, ever saw.
How do I write chunk-friendly content? #
- One question per section. Use a heading that says what the section answers. Our page on heading tags covers the markup.
- Answer first. Put the direct answer in the first sentence under the heading.
- Name things in full. Write “the Kettle Pro 2 holds 1.7 litres”, not “it holds 1.7 litres”. Pronouns that point back to an earlier section break when the section is cut out.
- Keep sections short. A few short paragraphs, or a list. Long walls of text get cut in awkward places.
- Repeat key facts where needed. A price or a size that matters in 2 sections can appear in both.
- Use real structure. Lists, tables and headings in HTML, not text styled to look like them.
Common mistakes #
- “As mentioned above”. A chunk has no “above”. Say the fact again.
- Vague headings. “More info” or “Details” tells neither a reader nor a machine what follows.
- Cutting pages into tiny pages. Chunking means sections inside one strong page, not 10 thin pages.
- Hiding text in images or scripts. A chunker can only cut text it can read. See JavaScript SEO.
- Stuffing keywords into every section. Repeat facts, not phrases. See keyword stuffing.
A worked example #
A shop sells a garden hose. Its old product page has one long paragraph: “This hose is great for gardens. It comes in 3 lengths. It is made of rubber and it will not kink. Delivery is free over £40.”
The new page has 4 short sections. “How long is the Flexi garden hose?” says it comes in 15, 25 and 30 metres. “What is the Flexi hose made of?” names the material in full. “Does the Flexi hose kink?” gives the plain answer. “How much is delivery?” states the threshold. If an AI system cuts the page into 4 chunks, each one still names the product and answers one question. All details in this example are made up to show the method.
How to check it #
- See how a page splits with our free RAG chunk previewer, and estimate token counts with the AI token cost estimator.
- Check that your headings answer real questions with the heading answer gap finder and our heading checker.
- Test whether a page is easy for AI to read and quote with the free AI readiness checker.
- In URSY Pro, the answer-first checker flags sections that bury the answer, and what AI reads shows what AI fetchers take from your site.
For the bigger picture, read our beginner’s guide to AEO.
Questions #
What is the best chunk size? #
There is no single answer. Systems set their own. OpenAI’s default is 800 tokens with 400 overlap. Write for clear sections and let each system cut as it will.
Do I need to write for chunking on every page? #
It helps most on pages that answer questions: guides, product pages and help pages. It does no harm elsewhere, because it is simply clear writing.
Does chunking mean shorter pages? #
No. A long, deep page with clear sections works well. What matters is that each section stands on its own.
Related words #
Sources #
- Anthropic: Introducing Contextual Retrieval (19 September 2024), checked 24 November 2026
- OpenAI API docs: Retrieval, checked 24 November 2026
- Google Search Central: A guide to Google Search ranking systems, checked 24 November 2026
- Google Search Central: AI features and your website, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Content chunking. URSY. Updated 26 November 2026. https://ursy.com/wiki/content-chunking/ · Section links
Tools for this
- LiveDuplicate Content Checker (inside your site)Run the check →
- LiveSSL Certificate Checkerexpiry, chain and mixed contentRun the check →
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →
- ProContent decayPages losing clicksIn URSY Pro →
- ProDuplicate contentSame or near-same pagesIn URSY Pro →
- ProContent brief builderWhat to write, for a keyword or a promptIn URSY Pro →