EOL (Line Ending) Converter

Detect and convert line endings between LF (Unix), CRLF (Windows), and CR (classic Mac).

Tool Media & Files Updated Apr 18, 2026
How to Use
  1. Paste text or drop a file.
  2. Pick target EOL; output downloads or copies.
Input
Or drop a file
Detected & Output

Reference

LF
\\n · 0x0A
Unix, macOS, Linux.
CRLF
\\r\\n · 0D 0A
Windows, HTTP, email.
CR
\\r · 0x0D
Classic Mac (pre-OS X).
Git autocrlf
input / true / false
Repo-level normalization.
Mixed
Warning sign
Normalize to one style.
Safe default
LF
Cross-platform.

Frequently Asked Questions

Mixed line endings?

Tool normalizes to the chosen EOL regardless of source mix.

Windows .bat scripts?

Keep CRLF. Most other cross-platform tools prefer LF.

Common Use Cases

Git import

Normalize to LF.

Windows shell

Convert to CRLF.

Last updated: