Free auditStart free
GlossaryGlossary · AI search

Chunking

Chunking splits documents into small passages before embedding them for search. Compare fixed-size, hierarchical and semantic chunks, and check your own pages.

3 min
read
2
sources
Oct 31, 2026
updated
Scaplet Editorial Team
author
In one line

Chunking is splitting a document into small passages, often a few hundred tokens or fewer, so each can be embedded and retrieved on its own. How you cut decides what a retriever can find. A chunk that loses its surrounding context, such as which company a figure belongs to, becomes hard to match correctly.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

4 facts from the sources below
A passage, measured in tokens
Unit
About 300 tokens, sentence boundaries kept
Bedrock default
A chunk losing its context
Main risk
Embeddings and a vector index
Pairs with
01Explained

Why documents get chunked

A retrieval system rarely embeds a whole page as one vector. Anthropic's contextual retrieval post says documents are typically split into smaller chunks, generally a few hundred tokens or fewer, and each chunk is embedded for search. Amazon's Bedrock docs describe the same pipeline: split, convert to embeddings, write to a vector index while keeping a mapping back to the original document.

The same post names the cost of this. Chunking can remove information a passage needs. Its example is a chunk that says revenue grew 3% without saying which company or period it covers. A reader sees the gap at once. A retriever matching that chunk to a query about a specific company cannot.

02Chunking options in Amazon Bedrock Knowledge Bases

Strategies compared

Strategy

Default

How it cuts
About 300 tokens per chunk, honoring sentence boundaries
Settings you control
None
Strategy

Fixed-size

How it cuts
A maximum token count per chunk with overlap between neighbors
Settings you control
Max tokens, overlap percentage
Strategy

Hierarchical

How it cuts
Child chunks inside larger parent chunks. Retrieval finds children, then swaps in the parent
Settings you control
Parent size, child size, overlap tokens
Strategy

Semantic

How it cuts
Breakpoints where adjacent sentences differ most in meaning
Settings you control
Max tokens, buffer size, breakpoint percentile threshold
Strategy

None

How it cuts
Each document is one chunk
Settings you control
Pre-split the files yourself

Bedrock notes that semantic chunking adds cost because it calls a foundation model. It also notes that hierarchical retrieval can return fewer results than requested, since children that share a parent collapse into one.

Smaller chunks suit
  • Precise lookups where one fact answers the question
  • Content with clear sentence-level claims
Larger or parent chunks suit
  • Answers that need surrounding explanation
  • Documents where a section only makes sense whole
04Checklist

Write pages that chunk well

First2
Give each section one question and answer it in its opening sentences.
Keep tables labeled with a caption and clear column names, since tables get split along with prose.
Next1
Use real headings: parsed content tends to be cut along section boundaries, as Bedrock's docs describe for pages and sections.
Then1
Repeat the product or topic name where a reader might land mid-page.

Public AI search products do not publish how they chunk pages, so this is a writing habit with a sound basis, not a documented ranking factor. See retrieval-augmented generation for how retrieved passages reach the answer.

05How it works

Check it in 2 minutes

  1. 1

    Pick three sections from a page

    Copy each section on its own into a blank document.

  2. 2

    Read each cold

    Ask whether a stranger could tell the subject, the product and the claim from that text alone.

  3. 3

    Fix the ones that fail

    Replace pronouns and references to earlier sections with the actual names.

Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01What chunk size should I use?

The sources here give a default, not a universal answer. Bedrock's default is about 300 tokens, and Anthropic says chunks are generally a few hundred tokens or fewer. Test sizes against your own queries, and measure retrieval quality rather than guessing.

02Is chunking the same as tokenization?

No. Tokenization splits text into the units a model reads. Chunking groups many tokens into passages for retrieval. See tokenization.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • anthropic.com
  • amazon.com
  1. 01Introducing Contextual Retrieval (Anthropic)anthropic.com · checked 2026-11-01
  2. 02How content chunking works for knowledge bases (Amazon Bedrock)docs.aws.amazon.com · checked 2026-11-01
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly