Skip to content
ToolsOnDuty - free online tools
Text Tools

Text Splitter

Split text on a comma, space, custom delimiter or more into one item per line.

Free browser toolRuns in your browserNo sign-up

About the Text Splitter

This text splitter breaks a block of text into separate lines wherever your chosen delimiter appears.

Split on a comma, space, semicolon, tab or any custom delimiter, then optionally trim each part and drop empty parts.

It is ideal for turning CSV rows, tag strings and delimited data into a clean one-item-per-line list.

Key features

  • Split on comma, space, semicolon, tab or custom delimiter
  • Trim whitespace from each part
  • Remove empty parts
  • One item per line output

How to use

  1. 1Paste the text to split.
  2. 2Choose the delimiter and toggle trimming and empty removal.
  3. 3Click Split text and copy the result.

Examples

Split by comma
Input: a, b, c
Output: a / b / c (one item per line)

Each part between the separators is placed on its own line.

Frequently asked questions

Can I split on more than one character?
Yes. Choose the custom option and enter any string, such as :: or a word, as the delimiter.
What does remove empty parts do?
It drops parts that are blank after splitting, which is useful when delimiters appear together, like two commas in a row.
Is my text uploaded anywhere?
No. Splitting happens entirely in your browser, so your text never leaves your device.

Open a related tool to prepare your files or refine the finished result.