331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Text Separator

Pasted lists arrive in every shape: comma-separated names, tab-separated spreadsheet columns, addresses separated by semicolons, or one long run of words separated by spaces.

Split any text into a numbered list by comma, semicolon, line break, space, tab, or a delimiter of your own — with trimming, empty-item removal, and one-click copy.

Items Found

Save to Pinterest

How It Works

A delimiter is the character (or characters) that marks where one item ends and the next begins. This tool scans your text, cuts it at every occurrence of the delimiter you choose, and returns the pieces as a numbered list. The delimiter itself is removed — commas, semicolons, line breaks and tabs all disappear from the output, leaving only the items.

Two clean-up options run after the split. Trim whitespace strips leading and trailing spaces from each item, which matters because most pasted lists put a space after each comma ("apple, banana" would otherwise give you " banana" with a leading space). Remove empty items drops the blank pieces that appear when two delimiters sit next to each other, or when a list ends with a trailing delimiter — so "apple,,banana," gives three items, not five.

The output shows each item on its own line with a number, plus a count of items and the longest and shortest item lengths. Use Copy List to copy the items one per line, ready to paste into a spreadsheet column, a form, or a document. Everything runs in your browser — the text is never uploaded.

Worked Example

Splitting "apple, banana, cherry, date, elderberry" by comma gives 5 items: apple, banana, cherry, date, elderberry. With trimming on, none of the items keeps its leading space. If the same text is split by space instead, the commas stay attached to the words ("apple,"), which is why choosing the right delimiter matters. The longest item is "elderberry" (10 characters) and the shortest is "date" (4 characters). If the same item appears twice, remove the duplicate lines before counting.

How to Use This Tool

Paste your text, choose a delimiter, and click Split Text. The numbered list appears below with the item count and a length summary.

  1. Paste your text. It can be a single line of comma-separated values, a pasted spreadsheet column, or a block of text with any separator.
  2. Choose the delimiter. Pick comma, semicolon, line break, space, tab, or pipe — or choose Custom and type any delimiter up to 20 characters, such as "::" or " | ".
  3. Split and copy. Click Split Text to see the numbered list, then Copy List to copy the items one per line. The trim and empty-item options are on by default and can be switched off if you need the raw split.

The example on the page — five fruit separated by commas — shows the full result format. Reset restores it.

Tips and Practical Advice

Splitting text is simple, but the wrong delimiter or the wrong clean-up settings can silently change your data. And if a word needs swapping throughout the text, find and replace does it in one pass.

Frequently Asked Questions

What is a text separator?

A text separator (or text splitter) cuts a block of text into separate items at every occurrence of a chosen delimiter — a comma, semicolon, line break, space, tab, or a custom string — and returns the pieces as a clean numbered list.

How do I split text by comma?

Paste the text, choose Comma as the delimiter, and click Split Text. For example, 'apple, banana, cherry' splits into 3 items. Keep Trim on so the space after each comma does not stay attached to the next item.

Why are there empty items in my list?

Empty items appear when two delimiters sit next to each other ('apple,,banana') or when the text ends with a delimiter. The Remove empty items option (on by default) drops those blanks from the result.

Can I split by a custom delimiter?

Yes — choose Custom delimiter and type any separator up to 20 characters, such as '::', ' || ', or a word. The tool splits on the exact string you typed, including any spaces in it.

Last updated: