Normalize Line Breaks
Convert Windows CRLF and old Mac CR line endings to LF and collapse runs of blank lines to one. Free, private and online — fix messy line endings.
About this tool
Consistent Line Endings and Spacing
Mixed line endings break diffs, scripts and CSV imports. Every CRLF and CR becomes LF, and stacks of blank lines shrink to a single break.
How to use it
- Paste your text.
- Line breaks are normalised instantly.
- Copy or download the result.
Frequently asked questions
What is the difference between CRLF and LF?
Windows ends lines with carriage return plus line feed (CRLF); Linux and macOS use line feed (LF) only.
Is my text uploaded anywhere?
No. The tool runs in your browser and the text never leaves your device, so you can paste confidential drafts, contracts or customer data.
