Tools / line-joiner

Join / merge lines online — with a custom separator

Glue multiple lines into one string with a separator of your choice. Comma, pipe, semicolon, " - ", anything.

SEPARATOR
OPTIONS
INPUT · LINES · CHARS
OUTPUT · LINES · CHARS

            
DONE · ran in 0.00ms ·
§01 — ABOUT THIS TOOL

The opposite of splitting.

You have one item per line. You need them on a single line, separated by commas — for a SQL IN(), a slug, a CSV cell, a tag attribute. This tool does that.

Default separator is ", " (comma + space). Override with anything: a tab, a newline literal, " | ", " — ", or your own string.

§02 — HOW TO USE 03 STEPS
STEP 01 01 / 03

Paste your lines

Drop in one item per line. Blank lines are skipped by default.

STEP 02 02 / 03

Set the separator

Default is ", ". Change it to whatever you need — special chars and spaces are preserved literally.

STEP 03 03 / 03

Copy the single line

Hit Copy. The output is one joined string ready to paste into a query, attribute, or message.

§03 — QUESTIONS 6 ANSWERS
01

Can I use a newline as the separator?

Yes — type \n in the box. The output will be multi-line again, useful for re-joining with a different visible separator.

Not by default — they're skipped. Turn off SKIP BLANKS to include them as empty entries.

No. The separator only goes between items.

It trims each input line. The full result is also trimmed only if TRIM RESULT is on.

The joiner doesn't escape anything — it puts the separator between items literally. So if you join URLs with "," and one URL contains a comma, you'll get an ambiguous result. For CSV-safe joining where fields might contain the delimiter, use a real CSV library (Python's csv, Node's csv-stringify) instead — or pick a separator that doesn't collide, like " | " or a tab.

Join produces a single output line, which can be megabytes long. Up to ~1M input lines runs comfortably. Above ~100 MB output, Chrome's Copy may silently fail — this hits Join the hardest of any tool here because the result is one giant line. Use Download instead, which has no practical limit.

§04 — THE OTHER SEVEN 7 / 07
§ — PRIVACY Your text never leaves your browser. No upload, no account, no logs on what you paste.
PRIVACY PAGE ↗