Line Ending Converter
Convert between CRLF, LF, and CR line endings. Supports Windows, Unix/Linux/Mac, and Old Mac formats.
Note: Browser textareas automatically convert pasted text to LF. To test CRLF/CR, use Load File or the sample buttons below.
Line Ending Converter Guide
What are Line Endings?
Line endings (also called line breaks or newline characters) are invisible control characters that mark where one line ends and the next begins in a text file. The problem is that different operating systems use different conventions: Windows uses CRLF (\r\n), Unix/Linux/macOS uses LF (\n), and classic Mac OS used CR (\r). These differences can cause garbled text, script failures, and messy diffs when files are shared across platforms.
Why a Browser Tool
You can perform Line Ending Converter immediately without installing a library or starting a CLI. Everything runs locally in the browser, so sensitive data never leaves your device.
Tools That Pair Well
- Password Generator - Generate secure random passwords
- YAML to JSON Converter - Convert between YAML and JSON
- Meta Tag Generator - Generate meta tags for SEO
- Text to Speech - Read text aloud with speech synthesis
- White Noise Generator - White noise for focus and sleep