Skip to content
  1. ConvertSoon
  2. Text tools
  3. Remove line breaks

Remove line breaks

Remove line breaks from text copied out of a PDF, email or website, and get clean paragraphs back. It is free and runs in your browser.

Runs in your browser Updates as you type Free, no signup

How to use the remove line breaks

  1. Paste your text

    Type or paste into the box on the left. It never leaves your browser.

  2. Pick how to join

    Choose the option you need. The result updates straight away.

  3. Copy the result

    Press Copy result to copy it, or Save to download a .txt file.

Fix text copied from a PDF

Text copied from a PDF often breaks at the end of every printed line. Keep paragraphs joins those broken lines with a space and keeps the blank lines between paragraphs, which is usually what you want. Join all puts everything on one line, and Remove completely deletes breaks without adding spaces, which is useful for codes and lists of numbers.

Need the whole PDF as editable text? Convert it with PDF to Word instead.

Line breaks explained

A line break is an invisible character that tells a program to start a new line. Windows uses two characters (carriage return and line feed) and Mac and Linux use one (line feed); this tool handles both. A PDF stores text as lines on a page, not as paragraphs, so copying from it adds a break at the end of every printed line.

Joined text pastes cleanly into email, forms, translators and AI tools, which often treat every line break as the end of a sentence.

Clean up more

After joining lines, remove extra spaces and fix capitals with the case converter if the text came from a scan or an all-caps PDF.

Related tools

More text utilities and similar tools, all free.

Questions about the remove line breaks

Not with Keep paragraphs, which only joins lines inside a paragraph. Join all and Remove completely do remove them.

Word's Find and Replace can do it with ^p, and Excel with CHAR(10). This page is quicker for text you are copying between apps.

No. The line breaks are removed in your browser, so documents you paste stay on your device.

Yes. Join all with spaces turns a list into one line. Use add prefix and suffix first if you want commas between items.

No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.