Go to example tasks

Split a sample policy and a web page into chunks

Splits a short sample returns policy and one Wikipedia page into chunks for retrieval, with overlap, OpenAI token counts, heading paths, character offsets and a stable ID for each chunk. Choose paragraphs, headings, sentences or token windows, and swap in your own texts, URLs or dataset.

Try for free
Text Chunker for RAG: text, pages and datasets to chunks
Text Chunker for RAG: text, pages and datasets to chunksexamsens.ai/text-chunker
Source
Chunk
Of
Tokens
+3 fields
Text
Number
Boolean
List
Object

Input

Texts:# Returns policy You can return most items within 30 days of delivery. Items must be unused and in their original packaging. ## Refunds Refunds go back to the original payment method within 5 business days of the return arriving. Shipping costs are not refunded. ## Exchanges To exchange an item, start a return and place a new order.
URLs
url:https://en.wikipedia.org/wiki/Retrieval-augmented_generation

Output fields

Source
Chunk
Of
Tokens
Section
Text
Error

How it works

Sign up on Apify or log in

The Text Chunker for RAG: text, pages and datasets to chunks Actor is ready to run with the inputs already set for "Split a sample policy and a web page into chunks". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Split a sample policy and a web page into chunks" task

The Text Chunker for RAG: text, pages and datasets to chunks Actor will start running based on the input automatically. You can also change all the input fields, like texts and URLs, to match your specific use case.

Receive the "Split a sample policy and a web page into chunks" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, chunk, of, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Split a sample policy and a web page into chunks" task via API.

Image

Integrate "Split a sample policy and a web page into chunks" into your workflow

Connect "Split a sample policy and a web page into chunks" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay