UnQTools
File Runs in your browser

Line Ending Converter

Convert line endings between CRLF (Windows), LF (Unix), CR (Classic Mac). Detect source, normalize, batch files, and 10+ extras. 100% private.

100% Private Works Offline Instant

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

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. 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.

Search tools and actions

Search across all 645 tools, categories, and quick actions.