# File line ending converter

> Convert LF, CRLF and CR while preserving text encoding choices.

[Open tool](https://www.toolcabana.com/su/file-line-ending-converter) · [Archives and file inspection](https://www.toolcabana.com/su/category/archives-and-file-inspection)

Tool ID: file-line-ending-converter. Requested language: su. Description language: en. Complete guide translation: no; untranslated sections use English.

## Overview (en)

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.

## Supported tasks (en)

Convert LF, CRLF and CR while preserving text encoding choices. Preserve lines while converting their delimiters.

## Steps (en)

1. Choose a source file. If the tool accepts multiple files, arrange them in the order you want.
2. Set line endings.
3. Run file line ending converter, review the output, then use the available copy or download controls.

## Settings

- Line endings (en; key: ending; type: select): LF [en], CRLF [en], CR [en]

## Limitations (en)

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.

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### 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.

## Related tools

- [Duplicate file finder](https://www.toolcabana.com/su/duplicate-file-finder)
- [Folder size analyzer](https://www.toolcabana.com/su/folder-size-analyzer)
- [Hex file viewer](https://www.toolcabana.com/su/hex-file-viewer)
- [Text file encoding converter](https://www.toolcabana.com/su/text-file-encoding-converter)
