Home/Creator & Web Tools/Text Separator (Split and Join)

Text Separator (Split and Join)

Split text by comma, line or anything, and join it another way.

Loading Text Separator (Split and Join)… If it does not appear, turn on JavaScript or update your browser (Chrome, Edge, Firefox or Safari).

Highlights

  • Any separator or regex
  • Remove duplicates and empties
  • Sort, number, wrap
  • Prefix and suffix
  • TXT and CSV export

About Text Separator (Split and Join)

Split text by new lines, commas, spaces, tabs or your own separator, then join with anything. Trim, remove empty items and duplicates, sort, number, add prefix/suffix or quotes, and export as TXT or CSV.

Turn a comma-separated list into lines (or the other way round), clean it up and export it.

How to use it

  1. Paste your list.
  2. Choose Split by and Join with.
  3. Tick trim, remove empty, remove duplicates, sort or number.
  4. Copy the result or download TXT/CSV.

Features

  • Split by new line, comma, semicolon, space, tab, pipe or your own text / regex
  • Join with anything, including new lines
  • Remove duplicates (case-insensitive), sort A-Z, numbers or length, shuffle
  • Add prefix/suffix, wrap in quotes, number items

Everyday jobs it handles

  • Turn a column into a comma list: paste a column copied from Excel and join with ", " to get Delhi, Mumbai, Pune for a form or a query.
  • Turn a list into SQL or code: wrap each item in quotes and join with commas to get 'A101','A102','A103'.
  • Clean up a messy list: trim spaces, drop empty lines and duplicates, and sort A-Z.
  • Number items: add 1., 2., 3. for a document or WhatsApp message.
  • Split one long line: separate values joined by semicolons, pipes or tabs into one per line.

Export as TXT, or as CSV to open in Excel or Google Sheets. Custom separators accept regular expressions, so "any comma or semicolon followed by spaces" is one rule.

Limits and privacy

Runs in your browser; your text is never uploaded.

Related: Diff Checker · Find & Replace

Frequently asked questions

How do I turn a column from Excel into a comma list?

Paste the column, choose Split by New line and Join with Comma + space.

Is my text uploaded?

No. Everything happens in your browser, so private text stays on your device.

Is there a size limit?

It handles very long texts (several MB). Extremely large inputs may be slow on older phones.

Can I split by more than one separator?

Yes. Use a custom separator with a regular expression, for example [,;]\s* to split on commas and semicolons.

Does it keep the original order?

Yes, unless you choose to sort.