# Chunking

> Chunking splits a long document into bite‑size sections that fit within model token limits and improve relevance in AI search.

GEO and AI search · Updated 2026-09-30 · [Marketing glossary](https://www.getlooploop.com/glossary)

**In short** Chunking means cutting up a big text into smaller parts.

## What it is and how it works

When an LLM processes content, it can only handle a limited number of tokens per request. Chunking cuts a source—such as a blog post, PDF, or product catalog—into overlapping or discrete fragments that each stay under the token ceiling. Each fragment is indexed separately, preserving context windows and allowing the model to match queries against the most relevant piece rather than scanning the whole document at once.

## What to do about it

Start by auditing your brand assets. Identify any file larger than the model’s token limit (e.g., 8 K tokens for GPT‑4). Then:

- Use a script or tool to split PDFs and HTML pages at natural breakpoints like headings or paragraph ends.
- Add a 10‑20% overlap between chunks so key phrases aren’t lost at the edges.
- Tag each chunk with metadata (source URL, date, section title) before feeding it to the indexing pipeline.

## How it is measured or noticed

In our AI‑search dashboard, chunking shows up as the number of indexed passages per source. A sudden drop in “average passage length” or a rise in “token‑limit errors” signals that chunks are too large. Conversely, an unusually high count of very short passages may indicate over‑splitting, which can dilute relevance scores.

## Common mistakes

- Splitting in the middle of a sentence, which creates fragments that lack meaning.
- Using a fixed character count without considering tokenization differences between languages.
- Forgetting to include overlapping text, causing loss of context for queries that span chunk borders.

## Limits and confusions

Chunking does not replace proper content summarization; it only restructures existing text. It also differs from **semantic segmentation**, which groups content by meaning rather than token count. If a document is already short enough to fit within the model’s window, chunking adds no value and may even hurt performance by creating unnecessary matches.

## Worked example

> "We split the 12,000‑word whitepaper into 5‑page chunks with a 150‑word overlap. After re‑indexing, the AI returned the exact paragraph about our new sustainability metric when a user asked ‘What are the latest eco‑targets?’"

## Quick tip

Run a token‑count test on a sample paragraph before you automate chunking. Adjust the chunk size until the test stays comfortably below the model’s limit.

## Frequently asked questions

### How does chunking differ from summarizing my brand content?

Usually, chunking breaks a document into smaller, token‑limited sections without altering the original wording, while summarization creates a shorter version that condenses the meaning. Chunking keeps every sentence intact, so the AI can search the exact phrasing. Summaries may miss nuances that a search needs.

### Should I apply chunking to all of my brand assets or only the longest ones?

It depends on the size of the asset and the token limits of the model you use. For documents that exceed the model’s maximum token count, chunking is essential; shorter items can be indexed whole. Start by auditing your assets and chunk only those that would be truncated otherwise.

### What is the actual process for chunking a document in our AI‑search platform?

Yes, the platform automatically splits a file into passages that fit within the model’s token ceiling, typically using paragraph or sentence boundaries. You can configure the chunk size and overlap in the ingestion settings, and the system creates separate indexed passages for each chunk. No manual editing of the text is required unless you want custom boundaries.

### Does chunking still improve relevance with the newest large language models?

Usually it does, because even the latest models have hard token limits per request. Chunking ensures that every part of your content is reachable within those limits, preserving relevance. If a model can handle longer inputs, the benefit may be smaller but not eliminated.

### What problems arise if a chunk cuts through a sentence or paragraph?

No, cutting sentences can lead to fragmented context, causing the AI to misinterpret meaning or miss key terms. You’ll notice lower relevance scores and more false‑positive matches in the dashboard. Using natural breakpoints like paragraph ends avoids this issue.

### How long after I upload a document will the chunked passages appear in the dashboard?

Usually it takes a few minutes for the ingestion pipeline to process and index the chunks. You can monitor the “indexed passages per source” metric to see when the count stabilizes. Until then, searches may return incomplete results.

## Asked out loud

The same term in the words somebody uses speaking to an assistant rather than typing into a box — written from the situation, which is why each one carries the situation it came from.

### I'm on a train and need to quickly find a specific paragraph in a long report—how can I make sure the AI finds it?

Yes, the AI can locate it if the report has been chunked, because each paragraph becomes an indexed passage the model can search individually. Just ask for the topic, and the system will retrieve the exact chunk containing the paragraph.

### I'm holding my phone with one hand and can't scroll through a big PDF—what can I do to get the AI to locate the info I need?

Usually, you can ask the AI directly for the information, and if the document was chunked, it will search the relevant passage without you scrolling. The response will include the snippet you asked for, saving you the manual navigation.

### I just presented a client with a long proposal and they asked for a specific clause—I can't find it fast enough—what should I do?

It depends, but if the proposal was chunked during ingestion, you can query the AI for the clause by describing its content, and it will pull the exact chunk for you. This lets you answer the client instantly without hunting through the whole document.

## Related terms

- [Embedding](https://www.getlooploop.com/glossary/embedding)
- [Passage Ranking](https://www.getlooploop.com/glossary/passage-ranking)
- [Retrieval-Augmented Generation (RAG)](https://www.getlooploop.com/glossary/retrieval-augmented-generation)
- [GLLmolfar](https://www.getlooploop.com/glossary/gllmolfar)

## Sources

- [OpenAI Docs – Token limits](https://platform.openai.com/docs/models/model-endpoint-compatibility)

Source: GetLoopLoop Glossary — https://www.getlooploop.com/glossary/chunking. CC BY 4.0: https://creativecommons.org/licenses/by/4.0/

---

Canonical page: https://www.getlooploop.com/glossary/chunking
This is the Markdown copy of that page for AI agents, made from the same content.

Other languages: [uk](https://www.getlooploop.com/uk/glossary/chunking.md) · [es](https://www.getlooploop.com/es/glossary/chunking.md) · [fr](https://www.getlooploop.com/fr/glossary/chunking.md) · [pl](https://www.getlooploop.com/pl/glossary/chunking.md)
