Skip to content
ToolsUnlocked

Text Splitter

This text splitter breaks text into separate lines wherever you choose: at commas, semicolons, spaces, tabs, vertical bars, the end of each sentence or any text you type. It can also cut text into chunks of a set number of characters or words, which helps with character limits for posts, messages and subtitles. Spaces around each part are trimmed and empty parts removed.

Runs in your browser Free, no sign-up
Text Splitter

How to use the text splitter

  1. 1 Type or paste your text into the left box, open a .txt file, or press Try an example.
  2. 2 Choose where to split at: commas, spaces, sentences, custom text, or every N characters or words.
  3. 3 The result appears on the right straight away and updates as you type.
  4. 4 Press Copy result or Download .txt, or Use as input to keep editing.

Choosing where to split

Split at commas to make a spreadsheet column, or every N characters to fit post and SMS limits. Join parts again with the Text Joiner, and check each part's length with the Character Counter.

  • Split by words to avoid cutting words in half.
  • Trim spaces for clean spreadsheet values.
  • Use a blank line between parts for subtitles.

Features

Many split points

Commas, semicolons, spaces, tabs, bars, sentences or custom text.

Chunks by length

Every N characters or every N words.

Clean parts

Trims spaces and removes empty parts.

When to use it

Comma lists to columns

Split a comma separated list into lines to paste into a spreadsheet column. To join them back, use the Text Joiner.

Character limits

Cut long text into parts that fit a post, SMS or subtitle limit. Check each part with the Character Counter.

One word per line

Split a sentence into words for vocabulary lists or word games.

Sentence by sentence

Put each sentence on its own line for editing or translation. To count them, use the Sentence Counter.

Related Text tasks

Frequently asked questions

How do I split a comma separated list into lines?

Paste the list, choose Commas, and keep Trim spaces and Remove empty parts ticked. Each item appears on its own line, ready to copy into a column.

How do I split text every N characters?

Choose Every N characters and set N, for example 280 or 160. Line breaks in the original are treated as spaces, and the text is cut exactly at that length, even inside a word.

Can I split without cutting words?

Choose Every N words instead. Each part then contains a set number of whole words.

How does splitting by sentence work?

Text is split after full stops, question marks, exclamation marks and ellipses. Abbreviations such as e.g. may occasionally create an extra split.

Can I split at a word or symbol?

Yes. Choose Custom text and type what to split at, such as a dash, the word and, or a pipe symbol.

Can I put a blank line between parts?

Yes. Choose Its own line, with a blank line between, which is handy for subtitles and social posts.

Does it work with CSV files?

It splits simple comma lists well. For full CSV files with quoted values, a CSV tool handles quotes more reliably.

How do I split a long post into a thread?

Choose Every N words or Every N characters to match the platform limit, then copy each part as a separate post. Splitting by words avoids cutting words in half.

Can I split text at line breaks?

Text with line breaks is already one part per line. To split each line further, choose the separator inside the lines, such as commas or spaces.

Is my text uploaded?

No. Splitting runs in your browser, so nothing leaves your device.

How this tool works. These text tools run entirely in your browser with plain JavaScript, so the text you paste never leaves your device and results update as you type. Each tool is tested with real text such as copied PDFs, emails, code, lists, emojis and non-English scripts before it goes live.

HF

Built and reviewed by , founder and lead developer
Last updated · How we check our tools · Report a problem