Text Splitter
Split text by a delimiter into one item per line
What is Text Splitter?
Text Splitter is a tool for splitting comma-separated, pipe-separated, and other delimited text into separate items by a chosen delimiter. It shows each item on its own line, which makes email lists, URL lists, logs, and settings easier to review before further processing.
You can also keep the delimiter at the end of each item or exclude only empty items, so it works well for both review and preprocessing.
How to Use
- Enter the text you want to split.
- Enter the delimiter.
- Toggle delimiter retention, whitespace trimming, or empty-item exclusion if needed.
- Review the split text in the output area.
Main Settings
Delimiter
This is the text used to separate items. You can use values such as ,, |, or :: depending on the input. Multi-character delimiters are also supported.
Keep Delimiter at the End of Each Item
This keeps the delimiter at the end of each split item. It is useful when you want to review comma-terminated values line by line.
Trim Item Whitespace
This removes leading and trailing spaces from each item before outputting the result. It is useful when you paste values with extra spaces.
Exclude Empty Items from Output
This removes empty items created by repeated delimiters. It is useful when you do not want blank lines in the output.
Use Cases
- Checking comma-separated email addresses or URLs one item at a time
- Splitting logs or settings connected by
|or:: - Reviewing array-style values while keeping trailing commas visible
- Removing only empty items before import or further processing
Input and Output Example
Tokyo, Osaka,, Nagoya, Fukuoka
With , as the delimiter and both trimming and empty-item exclusion enabled, this becomes:
Tokyo
Osaka
Nagoya
Fukuoka
If delimiter retention is enabled, items such as Tokyo, keep the trailing comma.
Things to Keep in Mind
- Leaving the delimiter blank keeps the input as a single item.
- If the original text does not end with the delimiter, the last item stays without it.