Remove Line Breaks
Text copied out of a PDF has a break at the end of every printed line. This joins those lines back into paragraphs — and, unlike a find-and-replace, it keeps the paragraph breaks that mean something.
How to use this tool
- 1Paste the text with the broken lines.
- 2Leave “Keep paragraphs” on — a blank line still starts a new paragraph.
- 3Switch to “Add line breaks” if you want the opposite job.
- 4Copy the fixed text.
Why find-and-replace makes it worse
Replacing every line break with a space works, and it also destroys every paragraph in the document. You end up with one solid block that has to be broken up by hand — which is more work than the problem you started with. Treating a blank line as a paragraph is the difference between a fix and a new problem.
Adding breaks instead
The opposite job comes up just as often: a wall of text that should be one sentence per line, for subtitling, for review, or for reading aloud. Switch the mode and set what to break after — a full stop for sentences, a comma for clauses.
Frequently asked questions
Why does text from a PDF break in the middle of sentences?
Because a PDF stores where each line of type sits on the page, not where the paragraphs are. Copying it gives you the printed lines, and a break at the end of each one. The paragraphs were never in the file to begin with.
How does it know where the paragraphs are?
A blank line. One break is treated as an accident of the layout and is joined up; a blank line between blocks is treated as a real paragraph and is kept. That is right for almost every PDF and email, and you can turn it off when it is not.
Will this fix hyphens split across lines?
No. A word broken as “infor-” and “mation” across two lines will come back as “infor- mation”. Search for “- ” afterwards and you will find them all in a few seconds.
More free tools you can open
See all tools →Click any card below to open that tool. All of them are free.
- List & Whitespace ToolsAlphabetizer – Sort a List A to ZAlphabetizer sorts any list A to Z or Z to A. Remove duplicates, ignore a leading “The”, and paste from a column or a comma-separated line.Open this tool
- List & Whitespace ToolsReverse List – Flip Any List OrderReverse List flips a list end to end, keeping every item intact. Paste a column or a comma-separated line and get it back in the opposite order.Open this tool
- List & Whitespace ToolsLetter Sorting – Sort Letters in a WordLetter Sorting puts the letters of a word or a phrase in alphabetical order. Useful for anagrams, word games and checking two words use the same letters.Open this tool
- List & Whitespace ToolsRemove Whitespace – Clean Up SpacingRemove Whitespace strips double spaces, tabs, trailing spaces and blank lines from pasted text. Clean up a copy-paste before it goes anywhere else.Open this tool
- ConvertersComma Separator – Column to CSVComma Separator tool to quickly add commas between words, numbers or lines. Format and separate your text online with ease.Open this tool
- ConvertersColumn to Comma Separated ListColumn to Comma Separated List turns a spreadsheet column into one comma-separated line. Add quotes for SQL, or tags for HTML, and copy the result.Open this tool
