Skip to content

Merge lines into a list or paragraph

Copied a column from a spreadsheet and need it as a, b, c? Got a comma list that should be one item per line? Paste it, pick the format, copy the result.

  • Instant
  • No signup
  • Nothing uploaded
Options

How to turn lines into a comma-separated list

  1. Paste your items, one per line, into the left box.
  2. Pick a format: comma separated, one paragraph, bulleted list or numbered list. Choose Split into lines to go the other way.
  3. Turn on Wrap in quotes for SQL, JSON or code.
  4. Click Copy result.

What each format gives you

FormatResult for apples / pears / plums
Comma separatedapples, pears, plums
Comma separated, in quotes"apples", "pears", "plums"
One paragraphapples pears plums
Bulleted list• apples • pears • plums, one per line
Numbered list1. apples 2. pears 3. plums, one per line
Split into linesCommas, semicolons and line breaks all become one item per line

Spaces around each item are trimmed and empty lines are skipped, so a column pasted from Excel, Numbers or Google Sheets comes out clean.

When it comes in handy

  • Turning a spreadsheet column of emails into a list for the To: field.
  • Building an SQL IN (…) list or a JavaScript array from IDs.
  • Joining lines a PDF broke mid-sentence back into one paragraph.
  • Turning notes into a bulleted or numbered list for a message.

Questions

How do I convert a column to a comma-separated list?

Copy the column from your spreadsheet, paste it above and choose Comma separated. Each cell becomes one item, joined with commas.

How do I split a comma-separated list into lines?

Paste the list and choose Split into lines. Items separated by commas, semicolons or line breaks each go on their own line.

How do I remove line breaks from text?

Choose One paragraph. Every line is joined with a single space. To keep paragraph breaks, use Join broken lines in the remove formatting tool instead.

Can I merge clips on a Mac without a website?

Yes, with Maclip. Select several clips in your history and merge them into one list or paragraph, with new lines, bullets, numbers, commas or spaces, or paste them one after another as a paste stack.

Keep reading