remove line breaks

Remove Line Breaks

Eliminate all line breaks in text or replace them with another character.

Lines removed: 0

About


Use this text tool to remove all existing line breaks or replace them with a different character. You can also remove a single line using the "remove one" option.

Remove One


Removes the last occurrence of a line feed that is followed by any character other than \n. This is useful if you have a double-spaced text document that you want to convert into single-spaced.

Example

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

Result

The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog

Replace With


Find all existing line feeds and replace them with a character or characters of your choice.

Example: Replace line breaks with a period and a space (. ).

The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog

Result

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog

Remove All


Deletes all existing line breaks.


  • Add Line Breaks - Add a new line after an occurrence of a letter/word or after a certain number of characters.