Remove Line Breaks

The line break remover fixes text copied from PDFs, emails and websites where every line ends with a hard break. Paste the text and get clean, flowing paragraphs: line breaks become spaces, paragraph breaks can be kept, and words split with a hyphen at the end of a line are rejoined. Replace breaks with nothing or a custom separator if you prefer, or convert many files at once. It runs entirely in your browser.

Modes

SettingInputOutput
Spaceone⏎twoone two
Removeone⏎twoonetwo
Custom ', 'a⏎b⏎ca, b, c
Rejoin hyphensdocu-⏎mentdocument

When to use it

  1. Paste PDF text into an email or document without broken lines.
  2. Turn a list into one comma-separated line.
  3. Clean up copied subtitles or OCR output.
  4. Prepare text for a single-line form field.

How to Use

  1. Paste text or drop files.
  2. Choose what to replace breaks with.
  3. Set the paragraph, spacing and hyphen options.
  4. Copy or download the result.

Features

  1. Replace with space, nothing or custom text
  2. Keep paragraph breaks
  3. Rejoin hyphenated words
  4. Collapse double spaces
  5. Handles CRLF, CR and LF
  6. Bulk files with ZIP download
  7. 100% client-side

FAQs

How do I remove line breaks from PDF text?

Paste it in. Single line breaks become spaces, and paragraph breaks are kept if you leave that option on.

Can I keep paragraphs?

Yes. 'Keep paragraph breaks' only joins lines inside a paragraph and keeps the blank lines between them.

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

Choose Custom, type ', ' as the replacement and turn off 'Keep paragraph breaks'.

What does 'rejoin words split with a hyphen' do?

It joins 'docu-' at the end of a line with 'ment' on the next, giving 'document'.

Is my text uploaded?

No. Everything runs in your browser.

Technical Details

Windows (CRLF), old Mac (CR) and Unix (LF) line endings are first normalized to LF. With 'keep paragraph breaks' on, the text is split at blank lines — two or more line breaks, even with spaces between them — and only the single breaks inside each paragraph are joined, so paragraphs stay separate. Each break, together with spaces or tabs around it, is replaced by your choice: a space, nothing, or a custom string such as a comma. Rejoining hyphenation removes a hyphen at the end of a line when a lowercase letter comes before it and after the break — the pattern PDFs produce when a word is split — so 'docu-⏎ment' becomes 'document'. Collapsing double spaces turns runs of spaces or tabs into one. Every option can be combined, and dropped files are each converted and can be downloaded as a ZIP.

Text Utilities

Text Utilities

  • Add Prefix & Suffix to Lines
  • Text Column Splitter
  • Hidden Character Detector
  • Remove Invisible Characters
  • Unicode Tools
  • HTML to Text
  • Data Extractor
  • PII Redactor