How to Match Line Endings (CRLF and LF)
Key points
- Choose the file
- Choose "Line breaks"
- Convert and save
Windows usually uses CRLF, while Mac and Linux use LF. Convert Text Encoding can match line endings at the same time as converting the encoding.
Steps
- Choose the file
- Under "Line breaks" choose CRLF or LF
- Tap "Convert and save"
Choose "Keep" to leave the original line endings.
Use "Convert Text Encoding (Fix Garbled Text)" (free)
Tools that go well with this
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
More guides for this tool
- How to Convert a Text File's Encoding (Free, Works on a Phone)
- Why a CSV Looks Garbled and How to Fix It
- Opening a UTF-8 CSV in Excel (Convert to UTF-8 with BOM)
- Converting for Systems That Only Accept Shift_JIS
- How Encoding Auto-Detect Works and What to Do When It Fails
- Converting Encodings Without Uploading Your File