Text Tools

Remove Line Breaks

Turn chopped-up lines back into flowing paragraphs. Paste text copied from a PDF, email or subtitle file, keep the paragraph breaks, mend words split by hyphens, and get text that wraps properly wherever you paste it.

  • Runs in your browser
  • No sign-up
  • Free to use

How to use Remove Line Breaks

  1. Paste the text with unwanted line breaks into the left box.
  2. Choose whether to keep paragraph breaks or remove every line break.
  3. Choose what replaces each break: a space, nothing, a comma or another separator.
  4. Copy or download the joined text.

Remove Line Breaks features

Paragraphs preserved

Lines within a paragraph are joined while blank lines between paragraphs stay.

Hyphenation repair

Words split across lines with a hyphen, common in PDFs, are joined back together.

Choice of separator

Replace breaks with a space, a comma, a semicolon, a vertical bar or nothing.

List to CSV

Turn a column of values into a comma-separated line in one step.

Windows and Mac line endings

CRLF, LF and CR are all handled.

Private

Text stays in your browser.

When to use Remove Line Breaks

  • Fixing text copied from PDF documents and scanned books.
  • Cleaning quoted emails where every line is broken at 70 characters.
  • Turning a column from a spreadsheet into a comma-separated list.
  • Preparing text for a form field that does not accept line breaks.
  • Joining subtitle or lyric lines into prose.

Remove Line Breaks FAQ

Why does text copied from a PDF have breaks on every line?

A PDF stores the position of each line, not paragraphs. When you copy text, each visual line ends with a line break, which then appears as a hard break when pasted.

How does it know where paragraphs are?

A blank line marks a paragraph boundary. If your text has no blank lines between paragraphs, everything is joined; add an empty line where paragraphs should split before converting.

What does the hyphenation option do?

When a line ends with a hyphen after a lower-case letter and the next line starts with a lower-case letter, the two parts are joined without the hyphen: “exam-” plus “ple” becomes “example”. Genuine hyphenated compounds at a line end may also be joined, so review the result.

How do I make a comma-separated list?

Choose Remove all line breaks and replace each with a comma and space. A list of items, one per line, becomes a single CSV-style line.

Does it change spaces within lines?

Only the spaces around each join are trimmed when that option is on. Use Remove Extra Spaces to fix spacing elsewhere.

Hard and soft line breaks

Word processors and web pages wrap text automatically: a paragraph is one long line that the software breaks to fit the window. These are soft breaks, and they move when the width changes. A hard line break is a real character in the text that forces a new line wherever it occurs.

PDF and plain-text email formats produce hard breaks at the end of every line because they describe fixed layouts. Paste that text into a document or web form and the lines stay short, leaving a ragged right edge and awkward wrapping. Removing the breaks inside each paragraph restores normal flow.

Typeset documents also hyphenate words at line ends to keep spacing even. When copied, the two halves of the word arrive with a hyphen and a break between them. Rejoining them is necessary for the text to be searchable and spell-checked correctly.

The opposite conversion is equally common in data work: a list with one value per line needs to become a single line with separators for a spreadsheet formula, a database query or a tag field. Choosing the replacement character covers both uses.

Other useful tools