Line Ending Converter
Convert line endings between CRLF (Windows), LF (Unix), CR (Classic Mac). Detect source, normalize, batch files, and 10+ extras. 100% private.
About Line Ending Converter
Convert line endings between CRLF (Windows), LF (Unix), CR (Classic Mac). Detect source, normalize, batch files, and 10+ extras. 100% private. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What's the difference between CRLF, LF, and CR?
LF (\n, 0x0A) is Unix/Linux/macOS standard. CRLF (\r\n, 0x0D 0x0A) is Windows standard. CR (\r, 0x0D) is classic Mac OS (pre-OS X), now extremely rare. Most modern systems use LF.
What extras does this tool have?
Extras: (1) Auto-detect source line endings, (2) Convert to CRLF/LF/CR, (3) Show source + target counts, (4) Mixed-line-ending detection + warning, (5) Batch multiple files at once, (6) File size before/after delta, (7) .gitattributes generator for repo-wide settings, (8) EditorConfig snippet generator, (9) Preview first 10 lines side-by-side, (10) Copy converted text, (11) Download converted file, (12) Preserve BOM option, (13) Strip BOM option, (14) Show byte-level diff for first line.
Related tools
7Z Extractor
Inspect and extract files from 7z archives. Detects the 7z signature (0x37 0x7A 0xBC 0xAF 0x27 0x1C), parses the SignatureHeader and StartHeader, lists files from the archive metadata, and extracts STORE-method files when possible. Honest about LZMA compression limitations. 100% client-side.
APK Extractor
Extract and inspect Android APK files in the browser — pure JavaScript APK (ZIP) parser. View AndroidManifest.xml (binary XML detection), list DEX files, resources, and assets, extract individual files, detect app info (package name, version) from manifest. 100% client-side.
ARJ Extractor
Inspect ARJ archives. Detects the ARJ magic (0x60 0xEA), parses header structures, lists file entries with sizes and CRCs, and extracts STORE-method files when possible. Honest about ARJ compression limitations. 100% client-side.