↵ Line Endings & Encoding Converter
Convert line endings (LF / CRLF / CR), BOM, character encoding (UTF-8 / Shift-JIS / EUC-JP), tabs vs spaces, trim trailing whitespace, and collapse blank lines.
✅ 100% free · no signup · text and files are never uploaded or stored
🔒 About Privacy
- ・All conversion runs in your browser via TextEncoder / TextDecoder
- ・Text and file content are never sent to any server
- ・No logs, no history, no database
📂 Drag & drop a file or click to select (optional)
Result
📖 How to Use
-
1
Provide text or filePaste into the textarea or drop a file onto the dropzone.
-
2
Choose optionsPick line endings, BOM, encoding, indentation, trailing whitespace, and blank line collapse — all in one pass.
-
3
Convert, then copy or saveCopy the result to your clipboard or download it as a file.
❓ FAQ
Why does Shift-JIS output sometimes fail?
The browser TextEncoder API natively encodes only UTF-8. We use a built-in mapping for Shift-JIS / EUC-JP output, but characters not in those tables (like emoji) are replaced with ?.
What is BOM? Should I add it?
BOM (Byte Order Mark) is a 3-byte signature (EF BB BF) at the file start that identifies UTF-8. Required for opening CSV in Excel, but typically omitted for Web (HTML/JS) and Linux tools.
Is the file uploaded?
No. We use FileReader API entirely in your browser — read, convert, and download all happen locally. You can verify in the Network tab.