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
Output
- Words
- 0
- Characters
- 0
- No spaces
- 0
- Lines
- 0
How to use it
- Paste the wrapped text.
- Press Join Into One Line.
- Fix any words that were split with a hyphen at the original line end.
- 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
Remove Empty Lines
Strip blank lines and whitespace-only lines from copied text so every row is a real value. Useful for spreadsheet columns and pasted lists.
Remove Extra Spaces
Collapse runs of spaces, strip tabs, and trim each line so pasted text stops fighting your layout. Runs entirely in the browser.
Clean Text
Paste text copied from a PDF, Word, or a web page and strip the invisible junk: non-breaking spaces, zero-width characters, curly quotes, and soft hyphens.
Browse all text tools or open the full cleaner with every action.