How to use this developer tool
- Paste or upload the text to normalize.
- Select LF, CRLF, or CR as the target.
- Choose whether to preserve the final newline state.
- Convert, inspect the counts, then download the normalized file.
Normalize mixed line endings to LF, CRLF, or standalone CR while leaving the text itself unchanged. The converter counts each source style separately and can preserve whether the input ended with a newline. It is handy for repository cleanup, shell scripts, generated CSV files, and transfers between Windows and Unix tooling.
The output contains the same logical lines joined using one selected line-ending sequence.
The visual output may look identical even though its bytes have changed.
Input endings: CRLF + LF Target: LF Result: every break is 0A
CRLF is recognized as one sequence before standalone carriage returns and line feeds are counted. No trimming or whitespace normalization is performed.
Textarea display does not reveal control characters. Download or inspect byte counts when exact verification is required.
No. It normalizes CRLF, LF, or CR sequences and preserves the other characters.
LF is common for cross-platform source repositories, but follow the project .gitattributes and tooling rules.
Yes. Enable the preserve option to retain that aspect of the input.
Textarea rendering hides the difference between CRLF and LF. Use the reported counts or download the result.
Yes. The statistics count CRLF, standalone LF, and standalone CR sequences separately.
| Field | Meaning |
|---|---|
| Summary | High-level processing result |
| Statistics | Counts and validation details |
| Export | Copy-ready text plus structured data when available |
Browse more tools for encoding & decoding.
Open category hub