Skip to content
Takikit

Join Lines into One

Merges several lines into one line with a separator of your choice, keeping paragraph breaks if you like. Fixes text copied from a PDF with broken lines.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when text copied from a PDF or email breaks mid-sentence, or when you need to turn an Excel column of order IDs or phone numbers into one comma-separated line for a search box.

With paragraph breaks kept, blocks separated by a blank line stay apart and only lines within the same paragraph are joined. Leading and trailing spaces on each line are trimmed first, so you do not end up with double spaces.

How to use

  1. Paste your text into the left box.
  2. Choose the joining character and whether to keep paragraph breaks.
  3. Click Copy or Download.

Frequently asked questions

Is my text sent to a server?

No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.

Related tools

More Text tools

See all text tools