Newline Converter
Free online newline converter tool, no installation required
About Newline Converter
This tool rewrites line endings in a block of text between the three newline conventions: LF (Unix/Linux/modern Mac), CRLF (Windows), and CR (classic Mac). It normalizes any mixed input to LF first, then emits the target line ending consistently throughout the output.
How to Use
1. Paste your text into the Input area. 2. Choose the source From Type using the select (LF, CRLF, or CR) — note that input is normalized regardless. 3. Choose the target To Type using the select (LF, CRLF, or CR). 4. Click Convert to produce the text with the target line ending. 5. Read the result in the Output area.
Line Ending Reference
LF is a single line-feed character (\n) used by Unix, Linux, and modern macOS. CRLF is carriage-return plus line-feed (\r\n) used by Windows. CR is a single carriage-return character (\r) used by classic Mac OS. Internally the converter first rewrites every CRLF and every standalone CR to LF, then re-emits using the selected target, so the From Type select exists for clarity but does not gate the normalization.
▶What is the difference between LF, CRLF, and CR?
▶Do I have to set the From Type correctly?
▶Will mixed line endings in my input be cleaned up?
▶Is my data sent to a server?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee