● online

Remove Line Breaks

Text copied from a PDF or an old email often breaks every line in the middle of a sentence. Paste it here to rejoin the lines while keeping your paragraphs intact.

Advertisement

How to use the Remove Line Breaks

  1. Paste the text with unwanted line breaks.
  2. Choose to keep paragraphs, make one single line, use a custom separator, or just drop empty lines.
  3. Press Clean text and copy the result.

About the Remove Line Breaks

PDFs store text line by line as it appears on the page, so copying it gives you a hard break at the end of every printed line. Pasting that into Word, a web form or an AI chat makes a mess of formatting. The default mode joins lines inside a paragraph while recognising blank lines as paragraph breaks, which is almost always what you want. The hyphen option rejoins words that were split across lines, such as “inform-” and “ation”. The separator mode is handy for turning a column of values into a comma-separated list.

Advertisement

Frequently asked questions

How do I remove line breaks but keep paragraphs?

Choose “Remove line breaks but keep paragraphs”. Blank lines are treated as paragraph breaks; single breaks inside a paragraph become spaces.

How do I turn a list into comma-separated values?

Choose “Replace line breaks with a custom separator” and use “, ” as the separator.

What about words split with a hyphen?

Keep “Re-join words split by a hyphen” ticked and “exam-” + “ple” becomes “example”.

Does this change anything else in my text?

Only spacing. The optional collapse setting turns repeated spaces into one.

Related free tools

← Back to all 150 free online tools

Runs in your browser — what you enter stays on your device. Published .

The Tools Guru Editorial Team

Three front-end engineers and technical writers in Punjab, Pakistan, shipping browser software since 2011. Every formula on this site is implemented from a primary source and checked against an independent reference implementation before release — see our editorial policy. Spotted a wrong number? Tell us and we will reproduce it, usually the same working day.

Advertisement

Explore all 150 free tools

Results filter as you type. Press Control plus K to jump here. Ctrl K
150tools0uploads to servers100%free forever

Trending now

All tools