Skip to content
Gatefrog

Split text into chunks (for AI)

Split long texts into chunks of equal size, for example to feed them to an AI or a search index.

More settings

Encrypted in transit · processed in Germany · deleted right after

Powered by BiGapi.dev, the file API for developers and AI agents

Your workflow in full flow. Start now! →Frogflow Less admin, more flow. Start now! →Frogflow Automation made effortless. Start now! →Frogflow The smart leap forward. Start now! →Frogflow Everything seamlessly connected. Start now! →Frogflow

Like this tool? Spread the word.

Promo kit: images and QR code to post or print

For notice boards, newsletters or social media. Everything is created right on your device.

Something not working, or missing something? Let us know.

Please don't enter personal data. We don't reply individually. 0/1000

How it works

  1. 1 Enter your text or upload a matching file.
  2. 2 Set the chunk size in tokens. The default is 512. If you like, each chunk can start at a heading.
  3. 3 Start processing. Your file is transferred encrypted and processed in Germany.
  4. 4 Download the result. Done, no sign-up and no watermark from us.

How the tool works

What it does

Split long texts into sections up to a fixed size, for example for an AI or a vector database. Paste text or load a .txt or .md file; you get a list of the sections, as text to copy or as JSON.

How it's built

Size is measured in tokens, counted with the gpt-tokenizer library. The default is 512 per chunk, and anything from 50 to 8000 is possible. Tables and code blocks aren't split, paragraphs that are too long are divided at sentence boundaries, and every chunk carries the path of its headings. This runs on our server: your text is sent encrypted, processed in Germany and deleted right afterwards.

Good to know: If you like, an overlap repeats the end of one chunk at the start of the next, up to half the chunk size. Pasted text can be up to about 1 MB.

Frequently asked questions

What happens to my input?

Your input is transferred encrypted and processed in Germany only for this one conversion. It is deleted right after the result is delivered; the content is neither stored nor analyzed. For very sensitive documents, we recommend our tools where the file stays on your device, such as “Redact patient data”.

What is this for?

If you give long texts to an AI or a vector database, you have to split them into pieces that fit into the context window. Overlaps make sure no sentence loses its context.

Are there limits on file size or page count?

Yes, so the tool stays free for everyone: text and data up to 1 MB per job. On top of that there's a generous daily allowance. Once it's used up, you can carry on the next day.

Is the tool free?

Yes. All tools on Gatefrog are free to use, with no sign-up, no installation and no watermark from us.

Related tools

More

Language

DeutschEnglishFrançaisEspañolPortuguêsBahasa Indonesiaहिन्दी中文