EN
PortuguêsEnglishEspañol
All tools
Text tools 100% free

Join lines and separate with commas

Turn a list (one per line) into comma-separated items, with quotes or in SQL IN format, or do the reverse and split into lines.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Text

Paste the list.

Available in: PortuguêsEspañolEnglish

Advertisement

Join lines and separate with commas: what it is for

Paste an Excel column or a list with one item per line and see it all on one line, separated by commas, semicolons, spaces or tabs, with or without quotes. SQL mode builds the IN ('a', 'b') clause with quotes already escaped. In reverse mode, the tool splits the text into lines by the chosen separator.

How to use

  1. Paste the list.
  2. Choose join or split and the separator.
  3. Copy the result.

When to use it

  • Building SQL filters from Excel.
  • Pasting a list of emails into the To field.
  • Turning comma-separated tags into a column.

Frequently asked questions

What is it for?

To take an Excel column into an email, a filter or an SQL query, or to turn a comma-separated list back into a column.

How do I do the reverse?

Choose Split into lines and enter the separator used in the text, like a comma or semicolon.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.