Skip to content

↵ 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

📂 Drag & drop a file or click to select (optional)

📖 How to Use

  1. 1
    Provide text or file
    Paste into the textarea or drop a file onto the dropzone.
  2. 2
    Choose options
    Pick line endings, BOM, encoding, indentation, trailing whitespace, and blank line collapse — all in one pass.
  3. 3
    Convert, then copy or save
    Copy 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.

🔗 Related Tools