How to Use Normalize Line Endings: Steps and a Worked Example

By 1 min read

Convert Windows (CRLF) and old Mac (CR) line endings to Unix (LF). This guide shows what to enter, a worked example, and the limits to keep in mind. The Normalize Line Endings tool is free, needs no account and runs in your browser.

What you need

  • Text

Step by step

  1. Open the Normalize Line Endings tool.
  2. Fill in Text.
  3. Read the result, which updates as soon as the inputs change.

Worked example

the tool returns:

Line one
Line two
Line three

How it works

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

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try Add Line Numbers to Text, Remove Line Breaks or Reverse Text Line Order.

More from the blog