Split text into lines
Put every word or list item on its own line.
Editor
Split text into lines: what it does
Turn a run of words or a comma-separated list into a clean column with one item per line. It is useful for lists copied from spreadsheets or forms, for tag lists, and for preparing values to sort or deduplicate afterwards.
Split text into lines: how to use it
- Paste your words or comma-separated list.
- Choose whether to split at spaces or at commas.
- Select Apply: every item is now on its own line.
Split text into lines: when to use it
- Turn a comma-separated list of tags, emails or IDs into one item per line.
- Put every word of a sentence on its own line to count, sort or deduplicate the words.
- Prepare a one-line value from a form or a URL for a tool that expects a column.
Split text into lines: examples
Input
red green blue yellow
Result
red green blue yellow
Input
milk, eggs,bread , butter
Result
milk eggs bread butter
Split text into lines: questions and answers
What happens to spaces around the commas?
They are removed, so “a, b ,c” becomes three clean lines: a, b and c.
Does it keep my existing line breaks?
Yes. Lines that already exist stay as they are; only the spaces or commas you choose are replaced.
Can I split at a different character, like a semicolon?
This page splits at spaces or at commas. For any other separator, use Find and replace text and replace the separator with a line break.
Are empty items removed?
Yes. Two commas in a row do not create an empty line; every line of the result holds one item.
Is my text sent to a server?
No. Everything runs in your browser on your own device, so your text never leaves it.
Related tools
Tools people often use together with this one.
- Remove line breaks
Turn many lines into one line in a click.
- Remove empty lines
Delete blank lines from your text in one click.
- Sort lines
Sort lines A to Z, Z to A, by number or by length.
- Add a blank line between lines
Double-space your text with one empty line between lines.
- Add line numbers
Number every line of your text, or remove the numbers.
- Bullet list maker
Turn lines into a bullet list, or remove the bullets.