Convert CRLF to LF
Paste text copied from a Windows file and copy the LF-normalized result. The conversion replaces each \r\n pair with \n and also converts lone \r characters.
Line content stays intact
Only newline characters are rewritten. Indentation, blank lines, punctuation, and the text between line breaks are preserved.
This is useful before committing shell scripts, configuration files, or source files to a repository that expects Unix line endings.
Mixed line endings
A document can contain CRLF, LF, and lone CR characters at the same time, especially after text is assembled from several systems. The output uses LF consistently throughout the document.