How to use: Line Ending Converter
Line Ending Converter is a free online Text Tools tool that convert between LF, CRLF, CR, NEL and LS, and report the mix currently in the file instantly in your browser. Paste your data, adjust the options and get the result in real time — no installation, no sign-up, and nothing is ever uploaded to a server.
Use Line Ending Converter now →
Description
Convert between LF, CRLF, CR, NEL and LS, and report the mix currently in the file.
- Text Tools
- Because everything is computed client-side, Line Ending Converter is safe to use with sensitive data such as API keys, tokens or private logs.
How to use
Using Line Ending Converter takes three steps:
- Paste your data into the input box (or load the example).
- Configure the options to match your target format or scenario.
- Copy, download or inspect the output — it updates live as you type.
Run
Examples
A Windows CRLF file; convert to LF for Unix tooling and Git.
Input
first line second line third line
Output
first line second line third line Line endings found in the input: CRLF 2 Total lines: 3 Converted to: LF
This output was produced by actually running the tool, not written by hand.
Use cases
Common situations where Line Ending Converter helps:
- Convert between LF, CRLF, CR, NEL and LS, and report the mix currently in the file.
Parameters
| key | Options | type | allowed | default | Line Ending Converter |
|---|---|---|---|---|---|
to | Convert to | select | lf (LF (\n) — Unix, Linux, macOS, Git), crlf (CRLF (\r\n) — Windows, HTTP, SMTP), cr (CR (\r) — classic Mac OS), nel (NEL (\u0085)), ls (LS (\u2028) line separator) | — | lf |
report | Also report the current mix | checkbox | — | true | true |
Input: text · Output: text · live update while typing: ✓
FAQ
What is Line Ending Converter?
Line Ending Converter convert between LF, CRLF, CR, NEL and LS, and report the mix currently in the file. It runs entirely in your browser, so your data stays private.
Is Line Ending Converter free to use?
Yes. Line Ending Converter is free, unlimited and works without registration or installation.
Does my data get uploaded?
No. All processing happens locally in your browser; nothing is sent to any server.
Good to know
- Everything runs client-side, so extremely large inputs are limited by your browser tab’s memory rather than by a server upload limit.