Remove Line Breaks and Join Lines

Text copied from a PDF or a narrow column is broken at the page's line width, not at the end of a sentence. This joins every line into one continuous string so the text can be pasted into a field that expects a single line.

This page is preset to Join Into One Line. Paste your text, then run it with one press.

Input

Words
0
Characters
0
No spaces
0
Lines
0
Actions

Output

Words
0
Characters
0
No spaces
0
Lines
0

How to use it

  1. Paste the wrapped text.
  2. Press Join Into One Line.
  3. Fix any words that were split with a hyphen at the original line end.
  4. Copy the single-line result.

What happens to the breaks

Each line is trimmed, empty lines are dropped, and the remaining lines are joined with a single space. Runs of whitespace are then collapsed, so a line that ended with a space does not produce a double space at the seam.

Watch for hyphenated splits

When a PDF breaks a long word, it often inserts a hyphen at the margin, splitting 'translation' after the hyphen. Joining the lines leaves that hyphen in place, so the word becomes 'trans- lation'. Scan the output for stray hyphens and delete them by hand before you publish.

When not to use it

Do not run this on a list where each line is a separate record. Joining a list of emails or SKUs destroys the structure. This action is for prose that was wrapped by layout, not for data that is one item per line.

Frequently asked questions

Does it keep paragraph breaks?

No. All breaks are collapsed, including blank lines, so the result is a single line.

Will it fix words split across lines?

No. A hyphen inserted at the line end stays in the output; those need to be removed by hand.

Can I undo it?

Keep a copy of the original text, or press Use only after checking the output. The tool does not store history.

Related tools

Browse all text tools or open the full cleaner with every action.