1. Home
  2. Files & Archives
  3. Text Encoding Converter

Text Encoding Converter

Detect a file’s encoding and re-save it as UTF-8, EUC-KR, Shift_JIS and more.

Runs in your browser · No upload

How to use

  1. Drop or choose text files such as txt, csv, smi or srt. You can add up to 50 files at once, 50 MB each.
  2. The source encoding is detected automatically. Check the preview (first 30 lines) to see whether the text looks right. If it is garbled, pick the source encoding yourself and the preview updates immediately.
  3. Choose the target encoding and the line endings (keep, CRLF or LF). When every file is a .csv, UTF-8 with BOM is preselected for Excel.
  4. Press Convert. One file downloads under its own name; several files download as a ZIP.

Encodings you can choose

Encoding Typical use
UTF-8 (no BOM) The web, developer tools, most modern software
UTF-8 with BOM Opening CSV files in Excel without garbled Korean, Japanese or Chinese
EUC-KR (CP949) Older Korean software, SMI subtitles, legacy shop or ERP exports
UTF-16LE Files from some Windows programs (saved with a BOM)
Shift_JIS, GBK, Big5 Japanese, Simplified Chinese and Traditional Chinese files

UTF-16BE and Windows-1252 (Western European) can also be read as sources.

Why text gets garbled

A file stores numbers (bytes), not letters. The encoding decides which number means which character. If the program that wrote the file and the one reading it disagree, the same bytes show up as the wrong characters.

Bytes Read as
안녕 (UTF-8) EC 95 88 EB 85 95 안녕
안녕 (EUC-KR) BE C8 B3 E7 안녕
UTF-8 bytes read as Windows-1252 EC 95 88 EB 85 95 안녕
EUC-KR bytes read as UTF-8 BE C8 B3 E7 �ȳ�

UTF-8 uses 3 bytes per Hangul syllable and EUC-KR uses 2, so the same text has different bytes. This tool first reads the file with the right encoding and then writes it back in the one you want.

Excel shows garbled CSV text

When you double-click a CSV that has no BOM (the three bytes EF BB BF at the very start), Excel on many systems assumes a legacy regional encoding and shows garbled text. Save as UTF-8 with BOM and the same content opens correctly. Saving as EUC-KR also opens, but it cannot hold characters outside its table, such as emoji.

Detection and its limits

  • A BOM is trusted. Without one, the file is checked for strictly valid UTF-8; if that fails, it is read as EUC-KR, Shift_JIS, GBK, Big5 and Windows-1252, and the result with the fewest broken characters and the most characters of that script wins.
  • Short files, or files with only Chinese characters, can be misdetected. GBK and EUC-KR share byte ranges. A guess is labeled as such, so always check the preview.
  • Characters the target encoding lacks (emoji, some rare ideographs) become ?. The result table shows how many were replaced and a few examples. Save as UTF-8 to avoid any loss.
  • Some browsers include extended EUC-KR characters beyond the 2,350 standard syllables (for example 똠). Check the result table to see exactly which characters were replaced.

To turn CSV into JSON use the JSON to CSV Converter, to tidy trailing spaces use Remove Extra Spaces, and to unify full-width and half-width characters use the Full-width / Half-width Converter.

Your files are processed only in your browser and are never sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.