Drop a file here, or click to browse
Any text file · Max 10 MB
A line ending (also called a newline or end-of-line marker) is one or two invisible control characters that mark where a line of text ends in a file. Because different operating systems were designed independently, they settled on different conventions — which is why the same file can display garbled ^M characters or collapse into a single line when opened on the wrong platform.
\r\nCRLFWindows / MS-DOSCarriage Return + Line Feed. The default on Windows, MS-DOS, and most network protocols (HTTP headers, SMTP, FTP). Two bytes per line ending.\nLFLinux / macOSLine Feed only. Standard on Unix, Linux, and macOS (since OS X 10.0). Mandated by POSIX. The default for most compilers, shell scripts, and modern source code.\rCRClassic Mac OS (≤ 9)Carriage Return only. Used by Mac OS 9 and earlier. Rare today but found in legacy Apple files, some CSV exports, old BBEdit documents, and certain binary protocols.All conversion happens locally in your browser — no file is uploaded to any server.
\r\n, standalone \n, and standalone \r sequences. The most frequent type is reported as the detected format.\n first, then replaces with the chosen target sequence. This handles mixed files correctly.text/plain Blob and downloaded directly. The filename gets a suffix (_lf, _crlf, or _cr) so you can tell converted files apart from the originals.\r\n0D 0A.bat, .cmd, .ps1, Windows .txt, .ini, .csv (RFC 4180)\n0A.sh, .py, .js, .ts, .go, .rs, Makefile, .gitattributes\r0DLegacy .txt, old Mac .csv, pre-OSX HyperCard, classic BBEdit