About the Line Ending Converter
Detects and converts line endings — fixes "bad interpreter: ^M" errors in scripts.
This tool runs entirely in your browser. Nothing you type is uploaded.
How to use it
- 1Type or paste your input in the box (or open a file where offered).
- 2The result updates instantly — adjust the options to fine-tune it.
- 3Use Copy or Download to take the result with you.
- 4Everything runs in your browser, so you can use it on private data.
Frequently asked questions
Is the Line Ending Converter free?
Yes. The Line Ending Converter is completely free with no sign-up and no usage limits for normal use. It is provided by Quick2Host as a free resource for developers and site owners.
Is my data uploaded anywhere?
No. The Line Ending Converter runs entirely in your web browser. Nothing you type, paste or open is sent to our servers.
What does the Line Ending Converter do?
CRLF (Windows) ↔ LF (Linux/Mac). Detects and converts line endings — fixes "bad interpreter: ^M" errors in scripts.
Which regex flavour does the tester use?
JavaScript (ECMAScript), which is close to PCRE for everyday patterns. Lookbehinds, named groups and Unicode classes are supported.
Test regular expressions, compare text, count words, clean whitespace, sort and de-duplicate lines and generate test data. See all 17 text & regex tools →