Line ending converter

0 uploads — runs entirely in your browser, works offline

Converted

Line ending converter — CRLF, LF, CR

Paste text and convert its line endings between Unix (LF), Windows (CRLF) and classic Mac (CR). It converts in your browser (0 uploads, works offline).

How to use it

  1. Enter or paste your input above.
  2. The result appears live on your device.
  3. Copy or Download it.

FAQ

How do I convert line endings (CRLF to LF) for free?

Paste your text and choose the target — LF, CRLF or CR — and every line break is converted in your browser with no upload. Mixed endings are normalised to a single consistent style.

Why do line endings matter?

Unix and macOS use LF, Windows uses CRLF, and mismatched endings cause noisy diffs, broken scripts and the classic '^M' characters. Converting to one style fixes those.

Is my text uploaded?

No — the conversion runs locally and nothing is stored; it works offline.

Which should I use?

LF is the modern default for code and cross-platform files; use CRLF only when a Windows-specific tool requires it.

Limits

Converts the line breaks in pasted text. For whole files, most editors also have a line-ending setting.

Related

The encoding converter fixes character encoding; remove line breaks unwraps PDF text.

Bookmark this page (Ctrl+D, or ⌘D on Mac) or install the app — it works offline the next time you need it.