Normalize LF
Normalize LF.
How to use Normalize LF
Normalize LF — Convert CRLF and lone CR line endings to LF (\n). Free to use in D2i DevTools — no account required.
Steps
- Fill in Input. This field is required.
- Click Run and copy the result under the form.
Frequently asked questions
What is Normalize LF used for?
Use it before you diff, hash, or commit text so Windows and old Mac endings do not change the bytes.
How do I use the free online Normalize LF tool?
Fill in Input. This field is required. Click Run and copy the result under the form.
What can I paste or upload into Normalize LF?
Paste the text. Both \r\n and a bare \r become \n.
What output does Normalize LF give me?
The same characters with LF endings only. A missing final newline is not added.
Is Normalize LF free, and is my input private?
Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.
How is this different from CRLF to LF?
They do the same conversion on this site: both turn CRLF and CR into LF.
Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.