Line Break Remover
Note: This is written for prose. Joining lines in source code destroys it β if you only want to normalise line endings or trim trailing whitespace in a code file, set the join mode to "None" and use the tidying options alone.
Removing every break is the wrong fix, because it welds the paragraphs together too. The distinction that actually works is that a paragraph boundary is normally a blank line β two breaks in a row β while a wrapped line is a single break. This tool works on that rule by default: single breaks are joined, doubles are kept. Where a source has no blank lines at all, the alternative heuristic looks at whether the previous line ended with sentence punctuation, which catches most cases and will occasionally join two sentences that should have stayed apart.
PDF text has a second problem worth handling separately. Justified text is often hyphenated at the break, so joining the lines naively produces "hyphen- ation" in the middle of a sentence. Rejoining those is offered as its own option because it is only ever right for hyphenated line breaks and would damage genuinely hyphenated compounds if applied blindly.
The remaining options are the tidying you usually want in the same pass: collapsing runs of spaces that were doing alignment work, trimming trailing whitespace, and normalising the line ending style, which matters when text moves between Windows and everything else.
Frequently Asked Questions
Why did my paragraphs get merged into one block?
Because the source had no blank lines between paragraphs, so there was nothing to distinguish a paragraph boundary from a wrapped line. Switch to the sentence-ending heuristic, which keeps a break when the previous line ended in a full stop, question mark or exclamation mark.
What is the difference between CRLF and LF?
Windows ends a line with a carriage return followed by a line feed; everything else uses the line feed alone. The mix is invisible on screen but shows up as stray characters in code, as spurious diffs in version control, and as broken parsing in tools that only expect one form.
Will this remove indentation from code?
Joining lines will destroy code β it is written for prose. If you only want to normalise line endings or trim trailing whitespace in a code file, turn the line-joining option off and use the tidying options alone.
Is my text sent anywhere?
No. Everything runs in the browser with string operations, and nothing is transmitted or stored. Reload the page and the text is gone.

