Line Ending Converter

Line Ending Converter: Convert a UTF-8 text file between Unix LF, Windows CRLF and legacy CR line endings.

Line Ending Converter

Line Ending Converter: Choose a UTF-8 text file and select LF (Unix), CRLF (Windows) or CR (legacy). Download the rewritten file.

Loading the tool...

✓ Your inputs stay in this browser

How to use Line Ending Converter

Choose a UTF-8 text file and select LF (Unix), CRLF (Windows) or CR (legacy). Download the rewritten file.

Example

Convert a Windows CRLF source file to LF for compatibility with Unix command-line tools.

What to know

Only line-ending bytes change. Existing UTF-8 BOM is retained. Files must be 8 MB or smaller and valid UTF-8 with no NUL bytes.