Line break remover Remove line breaks from any text

Join lines that break in the middle of sentences in text from PDFs, emails, and copied web pages. Keep your paragraph breaks, or turn everything into one block of text.

Your text never leaves this tab Free, no sign-upKeeps words split by a hyphen
Line breaks
Cleans as you paste. Ctrl+Enter copies the result.
Read only. Change the text on the left or adjust Options.
Words 0
Characters
0
Lines
0
Paragraphs
0
Reading time
0 min

Two ways to remove line breaks

Keep paragraphs joins the lines inside each paragraph and keeps the blank line between paragraphs. Use it for PDFs, emails, and articles.

Before
The report covers the first
quarter and the plan for the
second quarter.

Sales grew in every region.
Keep paragraphs
The report covers the first quarter and the plan for the second quarter.

Sales grew in every region.

Remove all joins everything into one block of text. Use it for a spreadsheet cell, a form field, a meta description, or a single line of code.

Before
Line one
Line two

Line three
Remove all
Line one Line two Line three

Where unwanted line breaks come from

Want Plain Paste to guess which breaks to keep, such as headings and list items? Use the plain text converter and turn on Join wrapped lines.

Questions

How do I remove line breaks but keep paragraphs?

Choose Keep paragraphs, then paste your text. Lines inside each paragraph are joined with a space, and the blank line between paragraphs stays.

How do I remove all line breaks from text?

Choose Remove all. Every line break becomes a space, so the text turns into one continuous block.

Why does text copied from a PDF have line breaks?

PDFs store text line by line to match the printed page, so copying keeps a break at the end of every line. Removing line breaks rejoins the sentences.

What happens to words split with a hyphen at the end of a line?

The hyphen is kept and the next line is joined without a space, so "well-" and "known" become "well-known". A word that a PDF split only to fit the line, like "exam-" and "ple", becomes "exam-ple", so check for those.

How do I remove line breaks in Word or Excel?

In Word, open Find and Replace, search for ^p (paragraph mark) or ^l (manual line break), and replace with a space. In Excel, use =SUBSTITUTE(A1,CHAR(10)," "). Or paste the text here and copy it back.

More free text tools

Plain Paste aims to work for everyone, including people who use screen readers, keyboards, or zoom. It follows the Web Content Accessibility Guidelines (WCAG) 2.2 at level AA and the Americans with Disabilities Act (ADA).

If something on this site is hard to use, or you need it in another format, let us know and we'll fix it.