Free tool

Remove line breaks, keep the paragraphs.

Text copied from a PDF or an email often breaks at the end of every line. Paste it here and the lines join back into flowing sentences, while the gaps between paragraphs stay. Words split with a hyphen at a line end are mended, double spaces are tidied, and you can also join everything into one line or put commas in place of the breaks.

Your text
Result

Line breaks

Tidy

Your text is changed in your browser. It is never uploaded.

Why it happens

Where the broken lines come from.

01 / PDF

Lines, not sentences

A PDF stores each printed line on its own, so copying it gives a line break wherever the page wrapped.

02 / Email

Old wrapping rules

Some email programs wrap plain text at a fixed width, often about 72 to 80 characters.

03 / Columns

Narrow layouts

Text from narrow columns, slides and subtitles breaks after a few words.

Questions

Good to know.

Will it join my paragraphs together?

Not with "Keep paragraphs": a blank line marks a new paragraph and stays. If your text has no blank lines between paragraphs, they are joined too; add a blank line where each one should start, or use "Remove empty lines" instead.

Does mending hyphens break real hyphenated words?

It only joins a word split at the very end of a line followed by a lower case letter, like "but-" then "tons". A word such as "well-known" in the middle of a line is left alone. Rarely, a hyphenated word that happens to wrap at its hyphen is joined; check names and compound words.

How do I turn a list into one line with commas?

Choose "Replace with" and keep ", " in the box. Each line becomes an item: "red", "green", "blue" on three lines become "red, green, blue". Type \n in the box for a new line.

Can I fix text from a PDF in one go?

Yes, paste the whole page. For a long PDF, PDF to text pulls out all of its text first; paste that here to join the lines.

Is my text uploaded?

No. Everything happens in this tab.