Line Break Remover

Join wrapped lines with spaces, tabs, custom text or no separator. Keep blank-line paragraphs and optionally reconnect words split by a hyphen.

At most 1,000 characters; inserted between joined non-empty lines.
Removes a hyphen after a letter when the next joined line starts with a letter. Review intentional hyphens.

Text is processed locally in your browser and is not uploaded.

Page guide

How to use this tool

  1. Paste text containing hard line breaks and choose whether blank-line paragraphs should remain.
  2. Choose the join separator. Optionally enable end-of-line hyphen repair and review each affected word.
  3. Read the live result, then copy, download or use it as input. Undo last replacement restores the text before the latest replacement or clear.

Understanding the output

Non-empty lines are trimmed and joined with the selected separator. Paragraph mode retains a pair of newlines between blank-line groups; join-everything mode discards those boundaries. Hyphen repair removes a final hyphen after a letter when the next joined line begins with a letter, joining those two parts without a separator. Other hyphens remain. The tool does not repair OCR errors or infer column order.

A wrapped sentence and a separate paragraph

A sentence wraps followed by a newline and onto another line. becomes A sentence wraps onto another line. A blank line before the next paragraph stays as a paragraph boundary in the default mode.

Recognize a hard wrap before removing it

A visual wrap happens automatically when a text box is narrow; it does not insert a newline into the text. A hard wrap is an actual line-ending character, often copied from a PDF or a plain-text email. This tool changes only the latter. If a paragraph already flows when the window is resized, there may be nothing to remove.

For multi-column documents, verify the reading order before joining lines. A copy operation may alternate between columns, and joining the resulting text cannot restore the correct sequence of sentences.

Protect meaningful structure

Lists, addresses, headings, and poetry often use line endings intentionally. Joining these lines can make the result harder to understand even if it appears shorter. Process one section at a time when a document mixes prose with structured blocks. Hyphenated line endings also need review: a hyphen may be part of the word or only a printed line-break convention, and automatic removal could change its meaning.

Choose a separator for your next step

A space is suitable for prose, while a tab or custom separator can turn a simple line list into a sequence for another editor. A custom separator is inserted literally and is limited to 1,000 characters. This is not CSV escaping: quoted fields and separators inside values need a data-aware converter.

Method and supported input

Line endings normalize to LF and each line is trimmed. Non-empty groups join with the selected separator. Optional hyphen repair applies only to a letter-hyphen at the previous joined line end followed immediately by a letter at the next line start.

  • Blank lines are the paragraph boundaries worth keeping in the default mode.

Limitations

  • It does not repair OCR mistakes or column ordering.
  • Optional hyphen repair cannot distinguish a wrapped word from an intentional hyphen. It starts disabled.

Common questions

Why did a bullet list become a sentence?

Each line break is treated as a join point. Keep lists out of the input when their line structure matters.

Can this join only one paragraph?

Yes. Paste just that paragraph, or use the default mode to retain blank-line separators between several paragraphs.

Will hyphen repair know which hyphens are intentional?

No. It uses a letter-based pattern only and starts disabled. Review words such as co-operate before replacing the source.

Sources and further reading

Reviewed on