Visible “extra blank lines” or whole-file diffs can come from line-ending conversion rather than content changes.
| Name | Escape | Hex | Typical context |
|---|---|---|---|
| LF | \n | 0A | Unix / Linux / modern macOS / many web tools |
| CRLF | \r\n | 0D 0A | Windows text convention |
| CR | \r | 0D | Classic Mac OS; legacy data |
When line endings are part of a CSV problem
In CSV, a record-ending newline and a newline inside a quoted field mean different things. If rows suddenly shift or a diff shows many changed lines, check delimiters and quoting together with line endings.
- CSV delimiters, quotes, and newlines — Understand record breaks and embedded newlines as part of CSV structure.
- CSV ⇄ TSV converter — Convert between comma-separated and tab-separated data and compare the structure.
- CSV complete guide — Review structure, encoding, and reader-side interpretation as one model.
Sources & update policy
Verified: 2026-08-31. This page prioritizes primary standards and official registries. Time-sensitive items should be rechecked against the linked source.