Trim leading/trailing whitespace and normalize space sequences.
Strip empty lines and whitespace-only lines from text.
Count total lines, non-empty lines, and blank lines in text.
Compare two blocks of text and display additions, deletions, and differences.
Wrap text at specified column width, add line prefixes/suffixes, and indent.
Files that move between Windows and Unix-based systems often carry mismatched line endings — Windows uses CRLF while macOS and Linux use LF — and this crlf lf converter fixes the mismatch instantly, right in your browser. It's a common need for developers dealing with Git line-ending warnings, teams sharing scripts across operating systems, and anyone importing text files that display incorrectly on the wrong platform. Paste your text, choose the direction you need (CRLF to LF or LF to CRLF), and get correctly formatted output immediately. Since the conversion happens client-side, code containing credentials or proprietary logic never leaves your machine. There's no signup and no size limit. Paste your text below to normalize its line endings now.
CRLF (carriage return + line feed) is the Windows convention for ending a line, while LF (line feed only) is used by Unix, Linux, and macOS — mismatched endings can cause files to display incorrectly or trigger diff noise.
Git often warns 'LF will be replaced by CRLF' or vice versa when a repository's configured line-ending style doesn't match the file you're committing, which this tool can help you fix before committing.
Yes, it analyzes the pasted text and reports whether it detects CRLF, LF, or a mix of both before you convert.
No, only the invisible line-ending characters change; the visible text content stays exactly the same.
That typically happens when a file uses classic Mac (CR-only) or Windows (CRLF) endings and is opened in a Unix tool that only recognizes LF as a line break.
No, since the tool runs entirely in your browser, it can handle large files without a server-imposed limit.