Text Tool

Newline Converter

Switch line endings between LF and CRLF.

Text

Inputs are auto-saved on this device.

Stored only in your browser

Send to another tool

Switch between different line ending formats (LF for Unix/macOS and CRLF for Windows) effortlessly. This helps prevent compatibility issues when sharing scripts or configuration files across different operating systems.

FAQ

How do you convert LF and CRLF online?

Use this newline converter to switch between LF and CRLF line endings for pasted text, scripts, or config files.

Why would you convert line endings?

It helps when moving text between Windows and Unix-like environments or fixing file issues caused by mixed endings.

When is a newline conversion tool useful?

It is useful for copied code, git patches, config files, logs, and text prepared for another operating system.