ToolCabana

File line ending converter

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

Favorites are saved in this browser. Find them in My favorites.

File line ending converter

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.

Drop your files here

or choose files from your device

روش استفاده 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.

  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.

قابلیت‌های این ابزار

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

Line endings
LF · CRLF · CR

محدودیت‌ها و پردازش

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.

پرسش‌های متداول

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.