Line Ending Converter

Change line endings between Windows (CRLF), Unix (LF) and old Mac (CR).

Line Ending Converter

.txt · .csv

Runs in your browser — your file is not uploaded

What it does

Changes the line endings of a text file between Windows (CRLF), Unix (LF) and old Mac (CR). Wrong line endings can break scripts or make a file show as one long line. You get the same text with the line endings you chose.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Also works with

Line Ending Converter questions

How do I use the Line Ending Converter?

Drop the file on the box or choose it from your device, set the options and download the result.

Which files can I use?

.txt and .csv files.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.