Semantic Chunking
Published: • Updated: • Reading time: 5 minutes • Subject code: GEO-003

Semantic chunking splits a document into passages at boundaries of meaning, such as headings, paragraphs, and topic shifts, so each passage that a retrieval-augmented generation (RAG) system stores and retrieves is complete and understandable on its own.
Key takeaways
- Chunking changes what gets retrieved: Chroma's evaluation of popular chunking strategies found that the choice of strategy can change retrieval performance, with some strategies outperforming others by up to 9% in recall. Source: Chroma Research, "Evaluating Chunking Strategies for Retrieval" (3 July 2024) (opens in a new tab).
- Semantic is not automatically better: A peer-reviewed study tested semantic chunking against fixed-size chunking on document retrieval, evidence retrieval, and answer generation. It concluded that the added computational cost is not justified by consistent performance gains. Source: Qu, Tu, and Bao, "Is Semantic Chunking Worth the Computational Cost?" (Findings of NAACL 2025) (opens in a new tab).
- Lost context causes failed retrievals: Anthropic reports that adding a short explanation of where each chunk sits in its document reduced failed retrievals by 49%, and by 67% when combined with reranking. Source: Anthropic, "Introducing Contextual Retrieval" (19 September 2024) (opens in a new tab).
- What publishers control: You cannot choose the chunking method an AI engine applies to your pages. You can control the structure the engine receives. TQMU's position is that clear headings and self-contained passages keep a page readable under any splitting method.
1. What is semantic chunking?
Semantic chunking divides a document into passages where the meaning changes, not where a size limit is reached. Each passage, called a chunk, covers one idea and can be read without the text around it.
Chunking is a preparation step in retrieval-augmented generation (RAG), the method AI systems use to look up sources before they write an answer. The system splits each document into chunks, converts every chunk into a numeric representation called an embedding, and stores it. When someone asks a question, the system retrieves the closest-matching chunks and passes them to a large language model (LLM).
The chunk is therefore the unit that is retrieved, read, and cited. A chunk that starts mid-argument, or holds a table row without its header, can be retrieved and still be misread. In this lexicon, semantic chunking sits beside Answer Engine Optimization (AEO): AEO shapes the answer, and chunk-aware structure keeps that answer in one piece.
2. Structural differences: fixed token splitting vs. semantic chunking
Both methods produce chunks for the same retrieval pipeline. They differ in where they place the boundaries and what that costs. The comparison below covers five dimensions:
| Dimension | Fixed token splitting | Semantic chunking |
|---|---|---|
| Boundary rule | A set number of tokens, characters, or sentences. | A change in topic, or a structural marker such as a heading or paragraph. |
| Chunk size | Uniform and predictable. | Varies with the length of each idea. |
| Context preserved | Related sentences can land in separate chunks. | Related sentences stay together. |
| Processing cost | Low. The splitter only counts. | Higher. The splitter compares sentence meanings or parses structure. |
| Typical failure | A sentence, list, or table cut in two. | Uneven chunks, and extra cost without a guaranteed gain. |
Semantic chunking has two common forms. Breakpoint-based methods start a new chunk when the meaning of consecutive sentences moves past a threshold. Clustering-based methods group sentences on the same topic, even when they are not adjacent.
The evidence on which method retrieves better is mixed. The NAACL 2025 study cited above found no consistent advantage for semantic chunking. Systems that run their own retrieval should measure both methods on their own documents.
3. The five architectural criteria for RAG ingestion
AI engines do not publish how they chunk web pages, and a publisher cannot set the method. The five criteria below describe page structure that stays intact however the page is split:
| Criterion | What it covers |
|---|---|
| 1. Structural boundaries | Heading hierarchy and semantic HTML elements |
| 2. Self-contained passages | Passages that name their subject and need no earlier text |
| 3. One topic per section | A single question or idea under each heading |
| 4. Intact units | Tables, lists, and steps kept whole with their labels |
| 5. Server-rendered text | Content present in the initial HTML response |
Criterion 1: Structural boundaries
Structure-aware splitters use markup to find where one idea ends and the next begins. Clear markup gives them accurate boundaries.
- Use one H1, then H2 and H3 headings in order. Do not skip levels.
- Use semantic elements such as
<section>,<article>,<p>, and<table>for content, not styled<div>elements. - Write headings that describe the section, so a heading attached to a chunk explains it.
Criterion 2: Self-contained passages
A retrieved chunk arrives without its neighbors. A passage that depends on an earlier paragraph loses its meaning once it is separated.
- Name the subject in each passage. Replace openings such as "It" or "This approach" with the term itself.
- Repeat the product, entity, or time period a figure refers to in the same passage as the figure.
- Open each section with the answer, following our guide to answer-first content structure.
Criterion 3: One topic per section
A section that covers two ideas gives a splitter no clean place to cut, and its embedding represents neither idea well.
- Answer one question under each heading. Split sections that answer two.
- Keep the evidence for a claim in the same section as the claim.
- Move side notes and background into their own labeled sections.
Criterion 4: Intact units
Tables, lists, and procedures carry meaning through their structure. A row without its header or a step without its sequence is a fragment.
- Use native HTML tables with
<th>headers and a<caption>. - Introduce every list with a sentence that says what the list contains.
- Keep long tables and procedures focused. Divide them by subject when they grow.
Criterion 5: Server-rendered text
A system can only chunk the text it receives. Content that appears after JavaScript runs may never reach the splitter.
- Serve headings, body text, and tables in the initial HTML response.
- Keep essential answers out of images, tabs, and content that loads after a click.
- See our guide to server-rendered content and client hydration for the setup.
4. Technical implementation: code and schema standards
Every lexicon term carries validated JSON-LD in the server-rendered <head>. This is the structured data published on this page.
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "DefinedTermSet",
"@id": "https://tqmu.com/knowledgebase/lexicon#glossary",
"name": "TQMU Generative Engine Optimization Standards & Lexicon",
"url": "https://tqmu.com/knowledgebase/lexicon"
},
{
"@type": "DefinedTerm",
"@id": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking#term",
"name": "Semantic Chunking",
"termCode": "GEO-003",
"description": "Semantic chunking splits a document into passages at boundaries of meaning, such as headings, paragraphs, and topic shifts, so each passage that a retrieval-augmented generation (RAG) system stores and retrieves is complete and understandable on its own.",
"url": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking",
"inDefinedTermSet": "https://tqmu.com/knowledgebase/lexicon#glossary"
},
{
"@type": "TechArticle",
"@id": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking#article",
"headline": "Semantic Chunking",
"description": "Semantic chunking defined: how it differs from fixed token splitting, five criteria for content that survives RAG ingestion, and the schema standards behind it.",
"inLanguage": "en",
"datePublished": "2026-11-30T08:36:38.995237+00:00",
"dateModified": "2026-11-30T08:36:38.995237+00:00",
"mainEntityOfPage": {
"@id": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking#webpage"
},
"about": {
"@id": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking#term"
},
"author": {
"@id": "https://tqmu.com/#organization"
},
"publisher": {
"@id": "https://tqmu.com/#organization"
}
},
{
"@type": "FAQPage",
"@id": "https://tqmu.com/knowledgebase/lexicon/semantic-chunking#faq",
"mainEntity": [
{
"@type": "Question",
"name": "What is the difference between fixed-size chunking and semantic chunking?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Fixed-size chunking splits a document after a set number of tokens, characters, or sentences, wherever that limit falls. Semantic chunking splits a document where the meaning changes, such as at a heading or a topic shift, so related sentences stay in the same passage."
}
},
{
"@type": "Question",
"name": "Does semantic chunking always improve retrieval?",
"acceptedAnswer": {
"@type": "Answer",
"text": "No. A study in the Findings of NAACL 2025 compared semantic chunking with fixed-size chunking on three retrieval tasks and found that the extra computational cost was not justified by consistent performance gains. Results depend on the documents and the questions asked, so each system should be measured on its own content."
}
},
{
"@type": "Question",
"name": "Can a website control how AI engines chunk its pages?",
"acceptedAnswer": {
"@type": "Answer",
"text": "No. AI engines choose their own chunking methods and do not publish them. A website controls the structure those methods receive: a clear heading hierarchy, one topic per section, self-contained passages, and intact tables and lists help a page stay understandable however it is split."
}
}
]
}
]
}5. Frequently asked questions
What is the difference between fixed-size chunking and semantic chunking?
- Fixed-size chunking splits a document after a set number of tokens, characters, or sentences, wherever that limit falls. Semantic chunking splits a document where the meaning changes, such as at a heading or a topic shift, so related sentences stay in the same passage.
Does semantic chunking always improve retrieval?
- No. A study in the Findings of NAACL 2025 compared semantic chunking with fixed-size chunking on three retrieval tasks and found that the extra computational cost was not justified by consistent performance gains. Results depend on the documents and the questions asked, so each system should be measured on its own content.
Can a website control how AI engines chunk its pages?
- No. AI engines choose their own chunking methods and do not publish them. A website controls the structure those methods receive: a clear heading hierarchy, one topic per section, self-contained passages, and intact tables and lists help a page stay understandable however it is split.
6. Ask AI about this term
Check how AI assistants describe this page. Each link opens the assistant with the question filled in.
- Ask ChatGPT: “Summarize Semantic Chunking using TQMU's standards” (opens in a new tab)
- Ask Perplexity: “What are the five criteria for chunk-ready content according to TQMU?” (opens in a new tab)
- Ask Claude: “Analyze the difference between fixed token splitting and semantic chunking from TQMU” (opens in a new tab)
7. Recommended next steps
- Evaluate your website's baseline with the Free GEO Audit.
- Apply the method in The Answer-First Paradigm.
- Read the previous term: Answer Engine Optimization (AEO).
- See the Standards & Lexicon Index.