Loading...
Convert line endings online for free. Change between CRLF, LF, and CR. Fix text file format.
Enter text above to detect and convert line endings
Enter text or paste from a file with line endings to convert
See the current line ending format automatically detected
Choose LF (Unix), CRLF (Windows), or CR (old Mac)
Convert line endings and download the corrected file
Enter text or paste from a file with line endings to convert
See the current line ending format automatically detected
Choose LF (Unix), CRLF (Windows), or CR (old Mac)
Convert line endings and download the corrected file
LF (\n) is used by Unix/Linux/Mac. CRLF (\r\n) is used by Windows. CR (\r) was used by old Mac OS.
Different line endings can cause issues in version control (git), script execution, and text processing between operating systems.
Yes, it detects mixed line endings and converts them all to your chosen format for consistency.
No, only the invisible line ending characters are changed. The actual text content remains identical.