About Remove Line Breaks
Text copied from a PDF, an email or a narrow web column often arrives with a hard line break at the end of every line. Paste it here to join those lines back into normal flowing sentences.
You choose how strict to be: keep the blank lines between paragraphs, turn every break into a single space, or delete breaks completely. The text is processed in your browser and never sent anywhere.
How to use it
- Paste your text into the Input box, or use Open to load a .txt file.
- Pick a Line breaks mode: “Remove, keep paragraphs”, “Replace with a space” or “Remove completely”.
- The joined text appears on the right straight away, with a note saying how many line breaks were removed.
- Copy it, download it as a .txt file, or press Use as input to run another tool on it.
Frequently asked questions
How do I keep my paragraphs while fixing broken lines?
Use “Remove, keep paragraphs”. Lines inside a paragraph are joined with a single space, and a blank line still separates one paragraph from the next.
What is the difference between “Replace with a space” and “Remove completely”?
Replace with a space joins lines with one space and trims the spaces around each break, which suits normal prose. Remove completely deletes the break characters only, so words on either side run together, which is useful for long strings such as Base64 or wrapped codes.
Does it handle Windows line endings?
Yes. Both Windows (CRLF) and Unix (LF) line breaks are recognised.