Join Lines
Paste a list - one item per line - choose a separator, and this tool merges it into a single line: commas for a spreadsheet paste, pipes for a database import, a comma-and-space for readable prose, or any custom string your format demands. The count says how many items went in, and empty lines are dropped automatically so a raggedy paste does not smuggle in phantom entries.
This is the other half of the remove-line-breaks job: that tool joins with spaces when you are unwrapping prose; this one joins with whatever your target format speaks. The quotes-wrap option exists for CSV strings - wrap every item in double quotes so commas inside item names cannot break the columns they land in.
How to use
- Paste your list - one item per line - and pick a separator: comma, pipe, space, or type a custom one.
- Toggle quote-wrap for CSV strings where item names might contain commas of their own.
- Copy the merged single line; the count confirms every item made it in.
Frequently asked questions
How do I join lines with a comma?
Paste the list above and pick the comma separator - the merged line appears live: item one, item two, item three. Empty lines are dropped automatically, the count confirms how many items survived, and the quotes-wrap option is there if any item might contain a comma of its own, which is the classic way a hand-built CSV loses a column.
Which separator should I use?
The one your destination speaks: commas for spreadsheets and CSV, pipes for database imports and Unix tooling, spaces to turn a word list into a sentence, semicolons when the items themselves contain commas. The custom field accepts anything - including multi-character strings like ' and ' - because formats are nobody's standard until they are.
What does the quote-wrap option actually do?
It wraps every item in double quotes before joining: "item one","item two","item three". In CSV, quoted fields may contain commas, quotes-doubled, and line breaks without breaking the column structure - it is the difference between a list of product names importing cleanly and one name with a comma silently splitting into two columns. Leave it off for plain joins where quotes would just be noise.
Do empty lines get removed?
Yes, automatically. A list pasted from a PDF or chat usually carries blank separator lines, and every one of them would become a phantom empty item in the joined output. The tool drops them before joining, and the count reflects the real items - if the count is lower than the lines you pasted, that is the blanks leaving.
Is there a length limit?
The input box keeps up to 20,000 characters - comfortably thousands of short list items, which is where joining is useful. Everything runs in this browser tab and nothing uploads; your list also stays in the page's local storage on your device so a refresh does not lose it. For larger merges, chunk the list and join the chunks.