Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Text Splitter

Cut text into parts

  • Free
  • Runs in your browser
  • No account needed

Use Text Splitter to split text into parts instantly in your browser. For example, split 3,000 characters into 5 parts of 600 characters; keep words whole to avoid cutting a word in two.

Parts
Part 1 of 2 (153 characters)
FreeToolr tools run in your browser, so nothing you type is uploaded. This splitter cuts long text into parts of the size you choose. It is handy for SMS

Part 2 of 2 (142 characters)
messages that must stay under 160 characters, for posts with a character limit, and for pasting text into forms that only accept short blocks.
Number of parts
2
Longest part (characters)
153
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About Text Splitter

Text Splitter breaks long text into smaller parts you can copy, download or share. You choose the unit to split by: Characters, Words or Lines, or a character or word to split at. You also set the size of each part, whether to keep words whole, and the separator inserted between parts. The tool shows the parts, the total number of parts, and the longest part measured in characters. Everything runs in your browser; nothing is uploaded, and results update instantly as you type. You can copy results and create a share link that reopens with the same inputs. This makes the tool handy for filling forms, splitting posts, preparing text for editors, or simple file chunking without leaving your machine.

How to use it

  1. 1Paste or type your text into the main box.
  2. 2Choose Split by: Characters, Words, Lines, or enter a character or word to split at.
  3. 3Enter the Size of each part and set Keep words whole to Yes or No.
  4. 4Pick how parts are separated and copy or share the parts.
Advertisement

Worked example

Input: "The quick brown fox jumps over the lazy dog." (44 characters). Mode: Characters, Size: 10, Keep words whole: Yes, Separator: Part 1 of 5 labels. Result parts: 1) "The quick" (9 chars), 2) "brown fox" (9 chars), 3) "jumps over" (10 chars), 4) "the lazy" (8 chars), 5) "dog." (4 chars). Number of parts: 5. Longest part: 10 characters.

How it works

Characters: parts hold at most the chosen number of characters; with Keep words whole on, a part ends at the last full word that fits (a single word longer than the limit is cut)Words and Lines: each part holds that many words or linesSplit at: the text is cut at every place the chosen character or word appears, and each part is trimmedResults update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbers

Source: Unicode Text Segmentation (UAX #29)GNU coreutils split invocationOpenAI embeddings and token guidance. Last checked 6 November 2026.

What it is good for

  • Runs in your browser with no upload
  • Results update instantly as you type
  • Shows parts, part count and longest part length
  • No token counting for LLMs is provided
  • No overlap option or sentence-aware chunking beyond keep words whole
Advertisement

Questions people ask

Will my text be uploaded to a server?

No. The splitter runs in your browser using client-side code. Nothing is sent to a server while you work, and results update instantly as you type.

How does Keep words whole work?

When set to Yes, a part ends at the last full word that fits within the chosen character limit. If a single word exceeds the limit, that word is cut to fit the part.

How do I split by a custom character or word?

Pick Split by and enter the character or word you want. The tool cuts at every occurrence and trims whitespace from each part.

Can I use this to prepare chunks for embeddings or LLMs?

You can split by characters, words, or lines here, but this tool does not count model tokens. For embeddings, use a model-specific tokenizer and leave headroom, as shown in OpenAI documentation.

How do I keep the parts when I return later?

You can copy the text or use the share link feature. The share link reopens the tool with the same text and settings so you can continue where you left off.

What output details does the tool show?

The tool shows each part, the total number of parts, and the longest part measured in characters. Use those numbers to check limits for forms or uploads.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement