Convert between CRLF (Windows), LF (Unix/Linux), and CR (old Mac) line endings. Auto-detects current line ending type.
Try it Free →Convert to CRLF (Windows \r\n), LF (Unix \n), or CR (old Mac \r).
Automatically detects which line ending type your text currently uses.
Visualize invisible line ending characters so you can see exactly what's there.
All processing is local in your browser. Your text never leaves your device.
Copy the converted text to your clipboard instantly.
Upload a text file to inspect and convert its line endings.
Paste or upload text with unknown line endings.
The tool shows what line ending type was detected (CRLF, LF, or CR).
Choose the desired output line ending: CRLF, LF, or CR.
Copy the converted text with the new line ending type.