Convert a text file
Drop a text file or click to browse. Everything runs locally.
Drop text file here
or click to browse
Choose a text file to start.
Convert text files with the Text File Converter: change line endings (LF/CRLF/CR) and encoding (UTF-8/UTF-16) in your browser.
Drop a text file or click to browse. Everything runs locally.
The file is decoded (auto-detecting UTF-8, UTF-16 LE/BE and BOMs), then line breaks are normalized to your chosen style: LF for Unix, CRLF for Windows, or legacy CR. Finally it is re-encoded in the target encoding, with or without a byte-order mark.
Scripts edited on Windows break on Linux servers because of CRLF; old tools choke on BOMs; and some Windows programs demand UTF-16. Converting here fixes the file without installing anything.