Line ending converter

Check a text's line endings and convert them to LF or CRLF.

Pasted or loaded text keeps its original endings, so the count sees real CRLF/CR. Typed input is LF only.

Text and files stay in this browser.

Every ending — LF, CRLF, and lone CR — is rewritten to the chosen style; mixed input becomes uniform. Text between endings is never touched. Up to 200,000 characters.

How to use

  1. Paste the text or load a file.
  2. Choose the target line ending.
  3. Convert and copy the result.

What it supports

Every LF, CRLF, and lone CR is rewritten to the chosen style — mixed input becomes uniform. Pasted or loaded text keeps its real endings; typed edits are LF only. Up to 200,000 characters.

Related tools

Related guides