Skip to main content
FixLines

Split text into lines

Put every word or list item on its own line.

Editor

Ln 1, Col 10 lines0 words0 characters

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

  1. Paste your words or comma-separated list.
  2. Choose whether to split at spaces or at commas.
  3. 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

Split a word list

Input

red green blue yellow

Result

red
green
blue
yellow
Split a comma-separated list

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.

Tools people often use together with this one.

More in Line toolsBrowse all text tools