✎

Text Merger

Join non-empty text lines using the separator you choose.

0Words
0Characters
0Sentences
0mReading time
Choose a file or fill the fields, then click Run tool.

About Text Merger

The reverse of splitting is just as common: a column of email addresses that must go into one recipient field, a list of SKUs for a search filter, or tags that need to become a comma-separated string. Copying a column from a spreadsheet gives one item per line, and this tool joins them into a single line with the separator you choose.

How it works

The input is split at line breaks. Completely empty lines are dropped, and the remaining lines are joined with the text in the 'Join with' field, which defaults to a single space. Lines are not trimmed, so leading or trailing spaces in a line stay in the result. The separator can be any text, such as ', ', '; ' or ' OR '. If the field is left empty, a space is used. The merged line downloads as merged.txt and is created in your browser.

How to use Text Merger

  1. Enter the text or data in the format shown in the text box above (Paste one item per line).
  2. Complete the available fields: Join with. Use the field labels and examples shown in the workspace.
  3. Select “Run tool” and check the result before copying or downloading it.

Worked example

Paste '[email protected]', '[email protected]', a blank line, and '[email protected]', then set Join with to '; '. The output is '[email protected]; [email protected]; [email protected]'. The blank line is ignored, so you do not get a doubled separator.

Tips for a better result

  • Include the space in the separator if you want one, for example ', ' rather than ','. The field is used exactly as typed.
  • Run the Whitespace Remover first when lines come from a spreadsheet with padded cells, because spaces at line ends are carried into the result.
  • For search operators, use ' OR ' as the separator to turn a keyword column into a query in one step.

Frequently asked questions

Can I join lines with nothing between them?

Not directly. An empty Join with field falls back to a single space. To get no separator, join with a rare character such as '~' and then remove it with Find and Replace.

Are lines containing only spaces removed?

No. Only truly empty lines are dropped. A line with a single space counts as an item and adds an extra separator. Run Remove Blank Lines first to clear whitespace-only lines.

Does it add quotes around each item?

No. Items are joined as they are. If you need quoted values, add the quotes into the separator, for example using '", "' and then adding the opening and closing quote by hand.

What to check

Review punctuation, formatting and meaning before using transformed text elsewhere.

Read the Privacy Policy for information about local processing, connected services and advertising.