How to normalize line breaks
To normalize line breaks, paste your text into the tool and choose the output style: LF (Unix-style, used by macOS and Linux) or CRLF (Windows-style). The normalizer scans for all line-ending types and rewrites them to your chosen single, consistent style.
Normalization runs locally in your browser, so your text is never uploaded. The content of each line stays exactly the same — only the invisible line-ending characters change — so you can copy or download a clean, consistent result safe to use across platforms and tools.
- Paste text with mixed or unknown line endings
- Choose LF or CRLF as the output
- The tool rewrites every line ending consistently
- Copy or download the normalized text
Why line endings matter
Different systems use different invisible characters to mark the end of a line: Windows typically uses CRLF, while macOS and Linux use LF. When text moves between platforms or is pasted from various sources, the endings can get mixed, which causes broken formatting, noisy diffs, or scripts that misbehave.
Normalizing to a single line-ending style fixes these problems without touching the actual content. This is especially useful for code, config files, CSV data, and any text handed off between Windows and Unix-based systems, where consistent endings keep tools and version control clean.