Remove Line Breaks
Replace line breaks so a wrapped paragraph becomes a single line.
About this tool
Blank lines are collapsed with the same replacement. A replacement of a single space is the default.
This does not detect sentences. A line that was a real paragraph break is joined too.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Join lines.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- This does not detect sentences. A line that was a real paragraph break is joined too.
Joining rows also joins real paragraphs
What join does
Line breaks are removed so rows become one run of text. A space may be left where the break was, depending on the control, but the break character is gone. The page cannot tell a break that was only wrapping from a break that separated two paragraphs or two list items. Both are joined. A poem and a wrapped email reply are treated alike. If paragraph gaps were blank lines, decide whether those blank lines should become spaces or paragraph marks before you join, because this page does not detect sentences.
Soft wrap versus hard breaks
Text that looked like many lines only because the box was narrow may already be one line in the data. Joining it changes nothing visible until you had real break characters. Text copied from a PDF often has a break at every visual line. Joining that is the usual repair, and it will also join a heading to the paragraph that followed if there was no blank line. Read the result. The page does not reinsert breaks at sentence ends.
The opposite tools
The text wrapper inserts breaks at a width. The line counter tells you how many breaks you have before you destroy them. Once you join, the original breaks are not in the result. Copy the source first if you might need the rows again. Joining is not encryption and not minification of code. In source code, a removed newline can change the program. Do not run this on Python or on line-oriented formats unless you mean to.
Sentences are not detected, so headings join too
A heading on its own line becomes the start of the following paragraph. A list becomes a run-on. That is the same rule as joining a wrapped paragraph, applied to markup that used breaks for structure. If you need paragraphs kept apart, leave a marker on the blank lines before you join, then restore the marker. The page will not infer the marker for you.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

