Text Splitter by Characters, Words, Lines or Sentences
Cut a long text into parts of a set number of characters, words, lines or sentences, for example to fit a limit. Words are never cut in half.
Use the tool
Why this tool exists
Long text often has to fit a limit: a form field, a message, a translation tool. Splitting by hand risks cutting a word in half.
Choose characters, words, lines or sentences and a size, and get numbered parts. In character mode a part ends at the last whole word that fits. For splitting with overlap for AI retrieval use the Text Chunk Splitter instead.
How to use it
- Paste the text.
- Choose the unit and the maximum size of a part.
- Read the numbered parts.
- Copy each part as needed.
Frequently asked questions
Are words ever cut?
Only a single word longer than the limit is cut, because it cannot fit otherwise.
How are sentences found?
At a full stop, question mark or exclamation mark followed by a space. Abbreviations can cause extra breaks.
Can I get overlap between parts?
Not here. The Text Chunk Splitter adds overlap for retrieval use.