Text Encoding Converter

Convert text-file encodings and line endings locally in your browser

Choose a text or CSV file (your data never leaves this device)

Text preview

What this tool does

Convert text files among UTF-8, Shift_JIS, EUC-JP, and ISO-2022-JP, while optionally normalizing LF or CRLF line endings and adding a UTF-8 BOM. It is useful for garbled CSV files and exports from legacy systems.

Common use cases

  • Convert a Shift_JIS CSV to UTF-8 before importing it into a web application.
  • Normalize line endings when moving text files between Windows, macOS, and Linux.
  • Create a UTF-8 BOM file so Japanese CSV data opens correctly in Excel.

How to use it

  1. Choose the text or CSV file you want to convert.
  2. Check the detected encoding and select the source encoding manually if needed.
  3. Choose the output encoding, line endings, and BOM option, then download the converted file.

Input and output example

Input: A Japanese CSV saved as Shift_JIS with CRLF line endings
Output: A UTF-8 BOM CSV with CRLF line endings that opens without garbled text in Excel

Important notes

  • Automatic encoding detection can be ambiguous for short or mostly ASCII files. Check the preview.
  • Emoji and symbols that do not exist in Shift_JIS, EUC-JP, or JIS may be lost.
  • The original file is not overwritten; the converted result is downloaded as a new file.

Frequently asked questions

What should I do if automatic detection shows garbled text?
Change the source encoding to Shift_JIS, EUC-JP, or JIS and use the preview to find the correct setting.
When should I add a UTF-8 BOM?
It is mainly useful when opening a Japanese CSV in Windows Excel. Web applications generally use UTF-8 without a BOM.