Join / Split Lines

Join lines into one text with any separator, or split text into lines at a separator.

Runs in your browser Free
Processed locally in your browser.

You can use \n for a new line and \t for a tab in the separator.

From column to list and back

When you copy a spreadsheet column, every value is on its own line. Turning that into a comma-separated line for an email recipient list, tag list or code array, or splitting comma-separated text back into lines, takes seconds with this tool.

Options

  • Join or split with any separator (comma, semicolon, pipe, space)
  • Use \n for a new line and \t for a tab
  • Trim items and drop empty ones
  • Wrap every item in quotes

Processing happens in your browser and you can copy the result in one click.

How to use Join / Split Lines

  1. Paste your text or list.
  2. Choose join or split.
  3. Set the separator and other options.
  4. Copy the result.

Why use this tool?

Automates the most common conversion when moving data between spreadsheets, code and text.

FAQ

Can I use a new line or tab as the separator?

Yes. Type \n for a new line or \t for a tab in the separator field.

How do I paste back into Excel?

Use split mode; each item goes onto its own line and lands in separate cells when pasted into Excel.

Can items be wrapped in quotes?

Yes, the quote option wraps each item in " or '.

Related tools