Normalize Line Endings
Normalize line endings by converting CRLF and CR to LF. Useful when moving text between Windows, macOS, and Linux. Runs locally in your browser.
Input
Output
Tip: You can verify in DevTools โ Network that nothing is uploaded.
About this Normalize Line Endings
$Normalize Line Endings converts mixed newline styles (CRLF \r\n and CR \r) into a consistent LF \n format.
This is useful for reducing diffs, avoiding inconsistent parsing, and cleaning copied text from different operating systems. Only newline characters are changed.
- Process text data quickly without external tools
- Transform content for development workflows
- Clean and format text for analysis
- Enable Auto to transform as you type
- Upload text files directly from your device
- Download the result when done
FAQ
No. Everything runs locally in your browser. Nothing you paste is sent to a server.
After the page loads once, it will typically keep working offline (unless you hard refresh with no cache).
No. Your input stays in your browser. Only optional preferences like theme or language may be stored.
Any plain text. You can paste text directly into the input box.
$Windows commonly uses CRLF (\r\n). Linux/macOS typically use LF (\n). Some older systems use CR (\r).
No. Only newline characters are normalized. Line content remains unchanged.
It can, if your input mixes newline styles. Normalization makes line splitting consistent across tools.