SizeReduce
हिन्दी

Home › Remove line breaks

Remove line breaks

Paste text with broken lines and copy clean paragraphs.

Works on your device. Nothing is uploaded.

…

How to remove line breaks

  1. Tap Clear to remove the example, then paste your text in the first box.
  2. Under What to do, choose to join the lines and keep the paragraphs, join everything into one paragraph, or only remove the empty lines.
  3. Tap Copy result and paste the text where you need it.

Why text from a PDF breaks in the middle of sentences

Most PDFs store where each line sits on the page, not where your paragraphs begin and end. When you copy from one, each line usually ends with a line break, so the text pastes as short broken lines. Joining the lines puts the sentences back together, and the empty line between two paragraphs is kept so that they stay apart.

Words split with a hyphen

Books and reports often split a long English word at the end of a line with a hyphen, such as "exam-" on one line and "ination" on the next. Tick Join English words split by a hyphen to rejoin them as "examination". It starts off because it would also join a real hyphenated word that breaks at the end of a line, such as "well-" and "known".

Extra spaces

Remove extra spaces turns runs of spaces and tabs into a single space and trims the spaces at the start and end of each line, which text copied from a table often has.

Hindi text

Hindi lines are joined the same way, with a space between them. If Hindi text from a PDF pastes as English-looking letters such as fgUnh, the PDF uses an old font such as Kruti Dev: join the lines here, then change the text to Unicode with the Kruti Dev to Unicode converter.

Your text stays with you

The tool runs in your browser. Nothing you paste is sent anywhere or saved.

Questions people ask

How do I remove line breaks from text copied from a PDF?
Paste the text, keep Join lines, keep paragraphs selected, and copy the result. Each paragraph becomes one line, and the paragraphs stay apart.
How do I remove empty lines but keep the other line breaks?
Choose Only remove empty lines. Every line with text stays on its own line.
Will it change my words?
No. It only changes line breaks and, if you tick them, extra spaces and words split by a hyphen at the end of a line.
Is my text saved or sent anywhere?
No. The tool runs in your browser, and nothing you paste leaves your device.

Related