Text Cleaner Tools

New Line Remover

Strip newline characters, with or without a joining space.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 words · 0 lines

Sometimes a value has to be perfectly flat, with no newline characters at all, before it can go into a CSV cell, a JSON string, or a single-line field.

New Line Remover deletes every carriage return and line feed and lets you choose whether removed breaks leave a space behind or nothing at all.

How to use New Line Remover

  1. Paste text that contains CRLF or LF line endings.
  2. Choose whether each newline is replaced with a space or removed with no gap.
  3. Copy the flattened value for your cell, string, or field.

Use cases

Good to know

New Line Remover targets the newline characters themselves, both carriage returns and line feeds. By default each break becomes a space and runs of spaces are collapsed; switch the no-space option on to delete breaks with nothing in between, which is useful for codes and tokens. Other whitespace such as tabs is left untouched.

Frequently asked questions

What is the difference between CRLF and LF?

CRLF is the Windows pair of carriage return plus line feed, while LF is the single Unix newline. This tool removes both kinds.

Can I remove breaks without adding a space?

Yes. Turn on the no-space option and breaks are deleted with nothing inserted, which suits codes and identifiers.

Does it also remove tabs or extra spaces?

No. It only removes newline characters; tabs and existing spaces are left as they are.

Related Whitespace Tools