RichMarkdown › Text tools › Remove line breaks

Remove line breaks

Text copied from a PDF keeps the PDF's line breaks, so sentences stop halfway across the page. Join the lines back into paragraphs.

Runs in your browser. Your text is not uploaded or stored on a server.

How to use it

  1. Paste the text.
  2. Keep “paragraph breaks” ticked so empty lines still separate paragraphs.
  3. For Chinese, join with “nothing”, so no spaces appear between characters.

When it helps

Need to write and format, not just clean? The RichMarkdown editor turns rich text into Markdown and Word files.

More text tools

Clean up text

Words and case

Convert formats

Encode and decode

Questions

Why does PDF text break like that?

A PDF stores lines as they appear on the page, not as paragraphs, so copying gives you every visual line break.

What about hyphenated words?

They stay as they are, for example “docu- ment”. Use Find and replace with a pattern to join them.