Skip to content

Text Splitter

Split by
Parts —
Longest part (characters)
—
Last part (characters)
—

Paste your text, choose whether to split by characters, words, lines or a separator, and set the size of each part. The alphabet split into 10-character parts gives three pieces of 10, 10 and 6 letters. Every part is listed with its character length so you can copy them one by one.

About this tool

Long text often has to fit into fixed slots: a thread of 280-character posts, SMS segments, a form field with a cap, or a prompt window that takes a set number of lines. This splitter cuts the text into equal parts by characters, words or lines, or breaks it wherever a separator such as a comma or pipe appears. Each part appears in a numbered table with its length, and the summary shows how many parts there are and how long the last one is. Characters are counted as visible symbols, so emoji and accented letters are never cut in half. The splitter does not look for sentence endings, so a character split can break a word mid-way; split by words if that matters.

How to use it

  1. Add the text

    Paste it into the box or open a .txt or .csv file from your device.

  2. Choose how to split

    Pick Characters, Words, Lines or Separator.

  3. Set the part size or separator

    Use the stepper for the number of units per part, or type the separator, and choose whether to trim spaces around each piece.

  4. Copy the parts

    Read each numbered part and its length in the table and copy the ones you need.

Examples

The alphabet in 10-character parts

Text to split
abcdefghijklmnopqrstuvwxyz
Split by
Characters
Size of each part
10

Result Parts: 3
Longest part (characters): 10
Last part (characters): 6

  1. 26 characters ÷ 10 per part, rounded up = 3 parts.
  2. The last part holds the remaining 6 characters.

26 letters make two full parts of ten and a last part of six, u to z.

A sentence in two-word parts

Text to split
The quick brown fox jumps over the lazy dog
Split by
Words
Size of each part
2

Result Parts: 5
Longest part (characters): 10
Last part (characters): 3

  1. 9 words ÷ 2 per part, rounded up = 5 parts.
  2. The last part holds the remaining 1 words.

Nine words split two at a time give five parts; the last holds only the word dog.

A comma-separated list

Text to split
red, green,, blue ,yellow
Split by
Separator
Separator
,
Trim spaces around each part
Yes

Result Parts: 4
Longest part (characters): 6
Last part (characters): 6

  1. Text cut at every ",": 5 pieces, 1 empty ones dropped.

The double comma leaves an empty piece, which is dropped, and spaces around each colour are trimmed.

How it is calculated

parts = ⌈units ÷ size⌉; last part = units mod size (or size when it divides evenly)

units
the count of characters, words or lines in the text, depending on the mode
size
how many units go into each part

Characters are counted as grapheme clusters, so a flag emoji or an e with an accent counts as one symbol. Words are runs of text between spaces or line breaks, punctuation included. Lines are separated by line breaks, and blank lines at the end are ignored. In separator mode the text is cut at every occurrence of the separator and empty pieces are dropped.

When not to use it

  • For splitting a CSV file with quoted fields that contain commas, use a proper CSV parser instead.
  • For SMS billing, carriers count GSM-7 and UCS-2 segments by their own rules, which differ from plain characters.

Common mistakes

  • Splitting by characters when words must stay whole, which cuts words at the part boundary.
  • Leaving the separator as a comma when the list actually uses semicolons or tabs.

Frequently asked questions

Will an emoji ever be cut in half?

No. Characters are counted as visible symbols, so a multi-code-point emoji such as a family or a flag stays inside one part and counts as a single character.

What happens to the leftover text?

It goes into a final, shorter part. Splitting 26 letters into tens gives parts of 10, 10 and 6, and the Last part figure shows that 6.

Are empty pieces kept in separator mode?

No. Two separators in a row, or one at the start or end, would create an empty piece, and those are dropped so the parts list only holds real text.

Does word mode keep punctuation?

Yes. A word is everything between spaces or line breaks, so commas and full stops stay attached to the word before them, and each part rejoins its words with single spaces.

How many parts can it list?

The count covers every part, and the table lists the first 500. A warning appears when the text produces more than that.

Is my text uploaded?

No. Splitting runs in your browser, and an opened file is read locally on your device without being sent anywhere.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 9). Text Splitter. Tools Directory. Retrieved October 26, 2026, from https://tools.milunir.com/text-tools/text-utilities/text-splitter/

MLA

Tools Directory Editorial Team. “Text Splitter.” Tools Directory, 9 Oct. 2026, https://tools.milunir.com/text-tools/text-utilities/text-splitter/. Accessed 26 Oct. 2026.

Chicago

Tools Directory Editorial Team. “Text Splitter.” Tools Directory. Last modified October 9, 2026. Accessed October 26, 2026. https://tools.milunir.com/text-tools/text-utilities/text-splitter/.

Link<a href="https://tools.milunir.com/text-tools/text-utilities/text-splitter/">Text Splitter – Tools Directory</a>