Text Tools

Normalize Line Endings with Worked Examples

Convert Windows (CRLF) and old Mac (CR) line endings to Unix (LF). Paste or type your input and read the result straight away. Text copied from Windows, with CRLF endings, comes back with plain LF endings, so diffs and scripts treat every line the same.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use Normalize Line Endings

Paste text from any system. Every line ending is converted to a single line feed.

Examples

  • With the default values
    Line one
    Line two
    Line three

Limitations and assumptions

Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.

Frequently asked questions

What does the Normalize Line Endings do?

Convert Windows (CRLF) and old Mac (CR) line endings to Unix (LF).

How does the Normalize Line Endings work?

Paste text from any system. Every line ending is converted to a single line feed.

What should I keep in mind when using the Normalize Line Endings?

Confirm assumptions, units and applicable local rules before relying on results.

Can I see an example of the Normalize Line Endings?

Text copied from Windows, with CRLF endings, comes back with plain LF endings, so diffs and scripts treat every line the same.

Is the Normalize Line Endings free to use?

Yes. It is free, needs no account and runs in your browser.