Split Text into Lines
Splits a string by comma, semicolon or any character you choose, putting each part on its own line.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when you get a list of cities, keywords or emails on one line separated by commas and need one item per line to paste into an Excel column, remove duplicates or sort.
The separator can be a whole string such as ' | ' or ' - ', and \t splits on tabs. Spaces around each piece are trimmed and empty pieces are dropped, so two commas in a row do not create a blank line.
How to use
- Paste your text into the left box.
- Enter the character to split on.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
Join Lines into OneMerges several lines into one line with a separator of your choice, keeping paragraph breaks if you like. Fixes text copied from a PDF with broken lines.Split Column in a Data TableSplit one column into several by space, comma or any character, for example to separate full names or addresses.
More Text tools
Wrap Text at a Set Line LengthBreaks long text into lines of no more than the number of characters you choose, without cutting words.Normalize Vietnamese UnicodeConverts Vietnamese text in decomposed form (separate accent marks, common when copying from macOS or PDF) to precomposed form so search and sorting work correctly.Add Text to Start and End of LinesAdds a prefix and a suffix to each line, for example a bullet, a trailing comma or quotes around each line.Vietnamese Tone Mark Style ConverterMakes the placement of tone marks consistent for the vowel groups oa, oe and uy, switching between the old style and the new style.Show Hidden Characters and WhitespaceShows spaces as dots, tabs as arrows, line breaks as pilcrows, and points out non-breaking spaces and zero-width characters.Reverse TextWrites text backwards by character or by word, keeping accented letters and emoji intact.
See all text tools