Remove Line Breaks
Merges text into one flow: line breaks are replaced with a space, a comma or a character of your choice.
Result
Paste your text and choose what replaces each line break. The default is a space, so words at the end of one line and the start of the next don't run together.
Modes
Keep paragraphs leaves blank lines as paragraph boundaries: lines within a paragraph are joined, the gap between paragraphs stays, and there is always exactly one. No space joins the lines tightly, which is useful for reassembling a line of code or a word broken in the middle. The remaining options replace each break with a comma, a semicolon, the <br> tag, or your own character.
What gets cleaned up along the way
Spaces and tabs at the start and end of each line are stripped, otherwise you would get a double space wherever a break was removed. Windows line breaks leave no invisible carriage return behind. The Unicode line separators U+2028 and U+2029, which often arrive in text copied from Word or PDF, are treated as line breaks too.
Rate this tool
Help us get better
Tell us what was missing.
Other tools
Cyrillic Transliteration
Converts Cyrillic text to translit, right in the browser.
Character Counter
Characters, words and paragraphs, platform limits and reading time.
Spell Checker
Typos and repeated words with replacement options, in Russian and English.
Create Text File
A text file from what you typed, with a choice of encoding
Text Diff Checker
Differences between two text versions, including the invisible edits
Markdown Editor
Markup on the left, result on the right, notes as a separate list
Case Converter
Every case at once: plain-text cases plus camelCase, snake_case, kebab-case
Reading Time Calculator
Reading time silent and aloud, with pauses, plus a label for the article