Remove line breaks

Paste text with unwanted line breaks (from a PDF, email or terminal) and get clean, joined paragraphs.

Why text from PDFs has broken lines

A PDF stores each printed line as a separate piece of text. When you copy it, every line ends with a hard return, so pasting into an email or a document leaves sentences chopped in half. This tool replaces those breaks with a single space.

Options

Example

Input: first line↵second line↵↵new paragraph → Output (keep paragraphs): first line second line↵↵new paragraph.

Frequently asked questions

Will hyphenated words at line ends be joined?
The tool replaces the line break with a space, so "exam-↵ple" becomes "exam- ple". Use Find and replace with "- " → "" afterwards if your source hyphenates words.
Does it handle Windows line endings?
Yes, both LF and CR+LF line endings are removed.