Your text

Result

Paste text above to strip or normalize its line breaks.

A formatter that removes the unwanted hard line breaks that sneak into text copied from PDFs, emails, and chat apps. Pasted text often has a line break (hard return) at every visual wrap point, so dropping it into Word or a post box leaves the lines ragged. Paste your text and clean it up with one of four modes. "Unwrap paragraphs" removes only the breaks inside a paragraph while keeping blank lines as paragraph separators, so long text stays readable with its structure intact. "Join into one line" removes every break to make a single line, "Breaks to spaces" turns each line break into a single space, and "Remove blank lines only" drops empty lines while keeping the real line breaks. When joining text, it does not insert a stray space between Japanese (CJK) characters, and only adds a space between two Latin words so they don't run together — giving natural results for both Japanese and English. You can also trim leading/trailing spaces per line and collapse runs of spaces into one. It shows how many line breaks were removed and the resulting character count. Copy the result in one click or download it as a `.txt` file. Your text is never sent to a server — everything is processed entirely on your device.

How to use

  1. Paste the text whose line breaks you want to clean up (copying from a PDF or email is fine).
  2. Pick a mode — "Unwrap paragraphs" to keep the paragraph structure, "Join into one line" to flatten it, and so on. Add the space-cleanup options if you need them.
  3. The result and the number of removed line breaks appear below. Use Copy or Download .txt to export it.

FAQ

Is my text sent to a server?

No. All line-break removal and formatting runs inside your browser. The text you enter is not uploaded, stored, or transmitted; it is handled only on your device, so it's safe even for drafts or confidential text.

How do I cleanly remove the line breaks from PDF-copied text?

Use the "Unwrap paragraphs" mode. It removes only the breaks that wrap a line mid-paragraph and keeps the blank lines between paragraphs as separators. The result pastes neatly into Word or a post box without ragged lines, while preserving the original paragraph structure.

Will joining Japanese text add spaces between characters?

No. When joining Japanese (hiragana, katakana, kanji, full-width punctuation), characters are connected with no space. A single space is added only between two Latin words so they don't run together. Mixed Japanese/English text comes out naturally.

Can it replace line breaks with spaces?

Yes. Choose the "Breaks to spaces" mode to turn every line break into a single space. If you only want to remove empty lines while keeping the real line breaks, choose "Remove blank lines only" instead.

Can it tidy up extra spaces too?

Yes. "Trim each line" removes leading and trailing spaces and indentation, and "Collapse multiple spaces" merges runs of spaces (full-width or half-width) into one. Combine them with line-break removal to clean up pasted text in a single pass.