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.

About the EOL (Line Ending) Converter

Working on image, audio and file tasks? The EOL (Line Ending) Converter is a free browser tool that gives you the answer in seconds. Detect and convert line endings between LF (Unix), CRLF (Windows), and CR (classic Mac).

How it works

Type in what you have, and the answer shows up right away. Change anything and it updates by itself. Everything runs in your browser, so it is fast and nothing you type is sent away.

Want the deeper story? The Knowledge Base explains the ideas behind the tools in more detail.

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.

How do I use the EOL (Line Ending) Converter?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Git import

Normalize to LF.

Windows shell

Convert to CRLF.

Last updated: