Chunk Text
AI / AgentSplit documents into overlapping chunks for RAG pipelines: by sentence, paragraph, or fixed size with configurable overlap.
Getting chunk size wrong is one of the more common ways a RAG pipeline underperforms, so this splits a document by paragraph or fixed size with a configurable overlap percentage, so adjacent chunks share enough context that a fact doesn't get sliced across a boundary. Sentence-based chunking is the better choice for shorter, semantically coherent content like FAQ or support articles rather than long-form prose. A reasonable starting point is 200-500 tokens with 10-20% overlap, though the right numbers depend on your embedding model's limits and how granular your retrieval needs to be. This does structural chunking only, by sentence, paragraph, or size, not semantic chunking based on meaning, which would need an embedding- or LLM-based approach this tool doesn't attempt. No LLM call happens here; splitting is plain client-side text logic.
How to use Chunk Text
- 1.Paste a long document and choose paragraph or fixed-size chunking to split it into pieces sized for your RAG pipeline's embedding step.
- 2.Set an overlap percentage so adjacent chunks share context, reducing the chance that a fact gets cut across a chunk boundary.
- 3.Use sentence-based chunking for shorter, semantically coherent chunks when you're indexing FAQ or support content rather than long-form prose.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/chunk-text \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"text":"Long document text goes here. Split into chunks for embedding and retrieval.","chunkSize":200,"overlap":20,"strategy":"paragraph"}'Get an API key from your dashboard · Full API docs →