Line Break Converter
Convert between CRLF, LF, and CR line endings with extra text utilities.
Why Use a Line Break Converter?
Line ending differences are a common source of issues when sharing files between Windows, macOS, and Linux systems. Windows uses CRLF (\r\n), while Unix-based systems use LF (\n). This tool lets you convert between all line ending formats, remove blank lines, sort lines, add line numbers, and trim whitespace — all instantly in your browser with zero data transmission.
Related Tools
Frequently Asked Questions
What are line endings (CRLF vs LF)?▾
Windows uses CRLF (\r\n), Unix/Mac uses LF (\n), and old Mac OS used CR (\r). This tool converts between all three formats.
Is my text sent to a server?▾
No. All conversion happens entirely in your browser using JavaScript. Your text never leaves your device.
Can I sort lines and remove duplicates?▾
Yes! You can sort lines alphabetically (A-Z or Z-A), remove blank lines, remove duplicate blank lines, add line numbers, and trim whitespace.