File line ending converter
Convert LF, CRLF and CR while preserving text encoding choices.
How to use File line ending converter
The File line ending converter takes a UTF-8 text file and rewrites every line break as LF, CRLF or CR. It recognizes all three styles in the source, even when they are mixed, and converts each one to the ending you choose. The output keeps the original file name and is UTF-8 without a byte order mark.
- Choose a source file. If the tool accepts multiple files, arrange them in the order you want.
- Set line endings.
- Run file line ending converter, review the output, then use the available copy or download controls.
What this tool supports
Convert LF, CRLF and CR while preserving text encoding choices. Preserve lines while converting their delimiters.
- Line endings
- LF · CRLF · CR
Limits and processing
Up to 200 files, 20 MB each and 100 MB combined. PDFs are limited to 500 pages, contact sheets to 100 pages, and bookmark trees to 1,000 entries and 20 nesting levels. Individual operations apply smaller output limits.
Frequently asked questions
How do I convert Windows line endings to Unix?
Upload the file and choose LF. Every CRLF pair, and any lone CR, becomes a single LF, which is the line ending used by Linux and macOS tools. Choose CRLF for the reverse.
Can it fix a file with mixed line endings?
Yes. The converter matches CRLF, CR and LF wherever they appear and replaces each with the ending you select, so a file that mixes styles comes out consistent.
Why does my file fail to load in the line ending converter?
The tool only accepts valid UTF-8 text. Files saved in encodings such as Windows-1252 or UTF-16 return an error. Convert them to UTF-8 first with an encoding converter, then change the line endings.
Where is my input processed?
This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.
What are the input limits?
Up to 200 files, 20 MB each and 100 MB combined. PDFs are limited to 500 pages, contact sheets to 100 pages, and bookmark trees to 1,000 entries and 20 nesting levels. Individual operations apply smaller output limits.