EN
My tools

Remove Line Breaks

Remove line breaks from text copied from PDFs or emails: join lines with spaces, commas or <br>, keep paragraphs, and fix words split by end-of-line hyphens.

Used when “Custom text” is chosen.
Text without line breaks
6 lines → 3 · 3 line breaks removed · 1 hyphenated word rejoined
My tools →
Advertisement

Text copied from a PDF, an email or a narrow web column often arrives with a hard line break at the end of every line, so it will not reflow when you paste it into a document, a form or a chat. This tool joins those lines back into flowing sentences, keeps real paragraph breaks if you want them, and repairs words that were split with a hyphen at the end of a line.

How to use this tool

  1. Paste the text.
  2. Choose what goes where each line break was: usually a space, or a comma to turn a list into one line.
  3. Keep “paragraph breaks” ticked to preserve blank lines between paragraphs.
  4. Copy the cleaned text.

Formula

Inside each paragraph: line₁ + replacement + line₂ + … ; paragraphs (separated by a blank line) stay separated when that option is on

Windows (CR LF), old Mac (CR) and Unicode line separators are all treated as line breaks. A line that ends with a lowercase letter and a hyphen, followed by a line starting with a lowercase letter, is joined without the hyphen (infor- / mation → information). This cannot tell a split word from a real hyphenated compound broken at the hyphen (well- / known), so untick the option if your text has many of those. Empty lines inside a paragraph are dropped, and runs of spaces left behind are collapsed to one.

Example

The sample has 6 lines in two paragraphs. With paragraphs kept it becomes two lines of text separated by a blank line (3 lines in total), ending “…split with a hyphen at the end of a line, like information.” and “A blank line separates this second paragraph, which should stay on its own.” That is 3 line breaks removed, one of them inside the split word infor-mation, which is rejoined without its hyphen.

Frequently asked questions

How do I remove line breaks but keep paragraphs?

Leave “Keep paragraph breaks” ticked. Single line breaks are replaced; a blank line between paragraphs stays as it is.

Can I turn a list into one comma-separated line?

Yes: choose “Comma and space” and untick paragraph breaks. For quoting items or making an SQL IN list, use the list to comma separated tool.

Why are there still double spaces?

Tick “Collapse double spaces”, or use the remove extra spaces tool for tabs, no-break spaces and other whitespace.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Remove Line Breaks. https://kakao.mobile/tools/remove-line-breaks-tool/

MLA

“Remove Line Breaks.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/remove-line-breaks-tool/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement