Remove Line Breaks

Join text that is split across multiple lines into continuous text.

About this tool

This tool removes line breaks from text. It is handy when you copy text from a PDF, an e-mail or a terminal and every line ends with an unwanted break. Leave the option checked to join lines with a single space, or uncheck it to glue the lines together with nothing in between.

How to use it

  1. Paste the broken-up text into the first box.
  2. Keep "Replace line breaks with a space" checked for normal sentences, or uncheck it to join lines with no separator (useful for split URLs, codes or hashes).
  3. Copy the joined text from the result box.

Common uses

  • Fix paragraphs copied from a PDF where every line wraps early
  • Turn a hard-wrapped e-mail or plain-text file into flowing prose for a document or website
  • Rejoin a long URL or license key that was split across lines
  • Flatten multi-line output from a terminal or log into one line before searching or sharing it

Frequently asked questions

What exactly counts as a line break?

Both Windows-style (CRLF) and Unix-style (LF) line endings are detected and removed, so text from any operating system or application works.

Does it remove empty lines and paragraph gaps too?

Yes — blank lines are just extra line breaks, so the whole text becomes a single continuous line. Surrounding spaces are tidied up so you never get double spaces where lines are joined.

Why would I join lines without a space?

When a URL, serial number or block of code was wrapped mid-token, adding spaces would corrupt it. Unchecking the option glues the pieces back together exactly.

Is my text private?

Yes. Everything runs in your browser — your text is never uploaded or stored anywhere.