Online Replace Line Breaks in Text
Replace every newline (and CRLF) with another character: space, comma, <br>, or custom string. Client-side.
Frequently Asked Questions
- What line endings are handled?
- LF (\n), CR (\r), and CRLF (\r\n) are all normalized and replaced by your chosen string.
- What can I replace with?
- Any string: space, comma, <br>, a custom delimiter, or leave empty to remove line breaks.
- Client-side?
- Yes. All processing in your browser.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.