CSV Tools
CSV Line Ending Converter
Convert CSV line endings between LF, CRLF, and CR.
Loading tool…
What is Line Endings?
A line-ending normalizer for CSV files, including detection of the current mix (CRLF/LF/CR counts).
How it works
The CSV parses and re-serializes, then every line break is rewritten to the target ending.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Cross-platform files
Convert a Windows CRLF file to Unix LF (or back) so scripts and git don't choke on invisible line-ending differences.
Common mistakes
Mixed endings in one file
Files edited across platforms can contain both CRLF and LF. The tool normalizes everything to one style and reports what it found.
Frequently asked questions
Why do line endings matter?
Windows uses CRLF, Unix uses LF. Mismatches cause spurious git diffs and break shell scripts and parsers.
Which endings can I convert to?
LF (Unix/macOS), CRLF (Windows), and classic CR (old Mac).