Mixed Line Endings
Pin down every LF, CRLF, and CR
Text & Unicode
Diagnostic result
Select a file or enter text to begin.
How to use
Load the source
Select a file for exact diagnosis or paste text for a quick check.
Review positions
Compare ending types, line numbers, UTF-16 offsets, and file byte offsets.
Save the required form
Copy or download the LF or CRLF version required by the destination.
Scope of the result
Non-UTF-8 encodings without a BOM, such as Shift_JIS, and editor-specific save transformations are outside the scope. The original file is never overwritten.
Frequently asked questions
- Why did pasted CRLF become zero?
- Browsers and operating systems may normalize pasted line breaks to LF before the page receives them. Select the original file to inspect bytes.
- Can the corrected file stay UTF-16?
- The initial version outputs corrections as UTF-8. Diagnosis still preserves byte offsets from BOM-marked UTF-16LE/BE input.
- Is the file uploaded?
- No. The File API reads it only inside your browser.