Remove Line Breaks Online — Fix Text Copied from PDFs
Join wrapped PDF copy-pastes into continuous lines or custom delimiters.
- Made for text copied from PDFs or e-mails that breaks mid-sentence. A word split as lon- at a line end and ger on the next line is joined into longer, while hyphenated words in the middle of a line, such as well-known, are left alone.
When to use the Line Break Stripper & Paragraph Joiner
Paragraphs stay apart
Broken lines are joined into one, but the blank line between paragraphs is kept. Turn that option off when the whole text must become one long line.
Hyphenated breaks repaired
PDFs and books often split a word at the end of a line with a hyphen. When a line ends in a letter and a hyphen and the next one starts with a lower-case letter, the two are joined without the hyphen.
The separator you need
Join with a space for prose, a comma for lists such as IP addresses, nothing for pieces of base64, or a separator of your own such as a semicolon.
Extra spaces dropped
Spaces at both ends of every line are dropped before joining, so no double spaces appear. Several blank lines, or lines holding only spaces, count as one paragraph break.
Frequently asked questions
Is this the same as deleting every line break?
Almost, except that paragraphs and split words are handled. Turn both options off to join every line with the chosen separator; blank lines are dropped too.
Why are some lines not joined?
With paragraphs kept, lines separated by a blank line belong to different paragraphs.
Are Windows line breaks recognised?
Yes. CRLF from Windows, LF from Linux and macOS and the old CR are all recognised.
Can a list become one comma-separated line?
Yes. Choose the comma for lists such as IP addresses or host names, then paste the line into a configuration field or a spreadsheet cell that wants one line.
Is my text sent anywhere?
No, the text is processed in your browser.
Similar tools
- Real-Time Regular Expression & Capture Group TesterTest JS patterns (g/i/m) live with match count, offset indexes & presets.
- Line-by-Line & Inline Word Diff CheckerCompare .env, router scripts & JSON side-by-side showing added & deleted lines.
- UPPER, lower, camelCase, snake_case, kebab-case ConverterTransform strings cleanly between camelCase, PascalCase, snake_case & Title.
- Regex & Multi-Line Find and Replace ToolPerform fast multi-line plain text or RegExp search & replace in browser.