Skip to content
PocketDesk
Your files are processed on your device, never uploaded

Remove line breaks

Turn broken lines into flowing text. It all happens on your device.

  • Runs in your browser
  • No sign-up
Result

How to remove line breaks

  1. Paste your text into the box.
  2. Choose what each break becomes under Replace each break with. A space is right for normal prose.
  3. Turn on Keep paragraph breaks if you want blank lines between paragraphs to stay.
  4. Copy the result, or download it as a text file.

What it does

Text copied from a PDF often has a hard line break at the end of each line. That makes it hard to paste into a form, a message or a document. This tool joins those lines into one block. Spaces next to a break are tidied, and several breaks in a row become a single replacement, so you do not end up with double spaces.

With Keep paragraph breaks on, a blank line is treated as the end of a paragraph. Lines inside each paragraph are joined, and paragraphs are separated by one blank line.

Choose A comma and a space to turn a list of items into a single comma-separated line. Choose Nothing to glue lines together, for example when a long code or number was split over several lines.

The Line breaks removed tile tells you how many breaks were changed.

Tips

Good to know

Some text has no real line breaks at all and only looks wrapped because the app wraps it for you. This tool can only remove breaks that exist. If lines still look split after you use it, the wrapping is done by the box you are pasting into, and it will adjust when you resize it. Bulleted lists will be merged into one line unless each item has a blank line before it.

Privacy

Your text is processed on your device. It is not uploaded, saved on a server, or added to the page address.

Questions

Why do copied lines break in the wrong places?

PDFs, emails and some websites add a line break at the end of every visual line. Pasting that text keeps those breaks. This tool joins them back into flowing text.

Can I keep my paragraphs?

Yes. Turn on Keep paragraph breaks. Single line breaks are removed, and blank lines between paragraphs stay.

What can the breaks be replaced with?

A space, nothing, or a comma and a space. The comma option turns a list into one line.

Does it handle Windows and Mac line breaks?

Yes. All common line break styles are removed.

Is my text uploaded?

No. The work is done in your browser, and your text never leaves your device.

More text tools