Line Ending Converter (CRLF to LF)
Convert line endings between Windows, Unix and Mac styles.
The invisible difference between systems
Different operating systems mark the end of a line in text files differently, an invisible difference that causes real problems when files move between systems. This converts line endings between the Windows, Unix and old Mac conventions.
Load your text and choose the target line ending.
Why line endings cause so much trouble
This is one of those hidden gotchas that has frustrated people for decades. Windows ends lines with two characters, Unix and modern systems with one, and classic Mac with another — all invisible on screen, but very real to programs. The symptoms are familiar to anyone who has hit them: a file that looks fine but shows as one giant line in some editor, scripts that fail mysteriously, or version-control systems reporting that every line changed when nothing visibly did. Converting to the right convention for the target system fixes these instantly. It matters most for developers and anyone sharing text files, scripts or data across Windows and Unix-based systems, where a mismatch in these invisible characters can break things in confusing ways. Since the difference is impossible to see, a converter that handles it explicitly is often the quickest route out of a baffling problem.
Line Ending Converter (CRLF to LF) FAQ
Why do line endings differ between systems?
Windows ends lines with two characters, Unix and modern systems with one, and classic Mac with another — all invisible on screen but meaningful to programs.
What problems do mismatched line endings cause?
A file showing as one giant line, scripts failing mysteriously, or version control reporting every line changed when nothing visibly did.
Is my text uploaded?
No. The conversion happens in your browser.