Cuvel.

Newline Converter

Share this page

Newline Converter - LF and CRLF

Only the page title and URL are shared. Your inputs and results are excluded.

Switch line endings between LF and CRLF. It helps when comparing files across operating systems.

Input
Drop a file here or choose one

Read on your device; no server upload · One file, up to 5 MB Loading replaces the current input.

Output
How to use & examples
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.