Remove Line Breaks

Lines removed: 0

About


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

Remove One


Removes the last occurrence of line feed that is followed by any string other than \n. This is useful if you have a double-line 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/s of your choice.

Example: Replace line breaks with a (. ) period followed by 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.

Related Tools


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