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
- 1Paste the text to split.
- 2Choose the delimiter and toggle trimming and empty removal.
- 3Click Split text and copy the result.
Examples
Split by comma
Input:
a, b, cOutput:
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.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Text ToolsText Sorter
Sort lines alphabetically, by length or numerically, or reverse their order.
Open tool - Featured toolDeveloper ToolsQuery String Parser
Turn a query string or URL into a readable table of parameters.
Open tool - Text ToolsText Cleaner
Trim lines, collapse extra spaces and remove blank lines.
Open tool
