Text Joiner

Free text joiner: combine a list of lines or words into a single string separated by commas, spaces, pipes, newlines, or any custom separator, with optional duplicate removal. Runs in your browser.

Enter text above.

How text joiner works

This tool merges a block of text into a single string. It can split your input on line breaks (treating each line as an item) or on any whitespace (treating each word as an item), then join the pieces back together with the separator you choose.

Pick a built-in separator such as comma-plus-space, a semicolon, a pipe, a dash, a space, or a newline, or type a custom one. Each item is trimmed and empties are dropped so the join is clean. Turn on "Remove duplicates" to keep only the first occurrence of each item, which is handy for deduplicating a list before joining.

Everything runs locally in your browser. It is perfect for turning a column of values into a comma-separated list for a CSV, an SQL IN clause, or a tag string.

Frequently asked questions

How is this different from the Remove Duplicate Lines tool?
Remove Duplicate Lines keeps your line structure and only strips repeats. Text Joiner merges everything into one string with a separator, and can optionally remove duplicates along the way.
Can I join with a custom separator?
Yes. As well as the built-in presets you can type any separator you like, including multi-character ones like " | " or a newline.
Does it trim the items before joining?
Yes. Each line or word is trimmed of surrounding whitespace, and empty items are dropped, so the joined result is clean.
Is my text sent anywhere?
No. The tool runs entirely in your browser. Nothing is uploaded or stored.