Convert EUC-KR and CP949 files to UTF-8

A CSV, TXT or subtitle file from Korea shows � or letters like ÇÑ±Û instead of Hangul? It is saved in EUC-KR or CP949, the legacy code pages of Korean. Drop the file into the box – Mojibuster detects the code page and converts the file to UTF-8, right in your browser.

Works with text and these files:

  • CSV
  • TXT
  • JSON
  • XML
  • SRT
  • VTT
  • SMI
  • TSV
  • MD
  • HTML
  • SQL
  • LOG

For example Excel exports, database dumps, subtitles or website code.

Repair

  1. Drop a file or paste text
  2. It gets repaired automatically
  3. Copy or download
or simply drag a file here

When you need this

  • CSV files from Korean government portals, banks and card companies, or from accounting software, that you open on a Mac, in Google Sheets or in a UTF-8-only system.
  • Order and customer exports from older Korean shop solutions and ERP systems.
  • Files saved as “ANSI” in Notepad on a Korean Windows, read by an editor or program that expects UTF-8 – in Notepad++ you can also convert directly.
  • Old websites, bulletin board archives and server logs stored in EUC-KR.
  • Subtitle files (.srt, .smi) in CP949 that show garbage on a TV – see fix subtitle encoding.
An EUC-KR notice opened with Western settings

Garbled

°øÁö»çÇ×
¼­¿ïƯº°½Ã Á¾·Î±¸ ¼¼Á¾´ë·Î 209

After converting

공지사항
서울특별시 종로구 세종대로 209

How to convert

  1. Drag the file into the box above or choose it – CSV, TXT, SRT, SMI, JSON and other text formats work.
  2. Mojibuster reads the file as CP949 (which contains EUC-KR) and UTF-8 and keeps the reading that produces real Korean. The result shows which code page it used.
  3. Click Download to save the UTF-8 file. For CSV files keep Save with BOM on so Excel opens them correctly.

EUC-KR and CP949

EUC-KR contains only the 2,350 most common Hangul syllables. Windows’ CP949 (Unified Hangul Code) adds the rest, such as 똠 and 뷁, and covers all 11,172 modern syllables. Mojibuster reads with CP949, so those characters convert correctly as well.

Characters and bytes

  • 가 = B0 A1, 한 = C7 D1, 글 = B1 DB (the same in EUC-KR and CP949)
  • 똠 = 8C 63, 뷁 = 94 EE (CP949 only)
  • 한글 opened with Western settings (Windows-1252) shows as ÇѱÛ; UTF-8 Hangul read as Windows-1252 looks like 한글 instead – see what mojibake is.

Converting on the command line

On Linux and macOS one line does it: iconv -f CP949 -t UTF-8 in.txt > out.txt. In PowerShell 7: Get-Content in.txt -Encoding 949 | Set-Content out.txt -Encoding utf8 – the differences are explained in fix PowerShell encoding. These commands don’t guess the code page; with only a few files, the box above is faster.

What can’t be restored

Characters that have already become ? are gone: the information was lost when the file was saved. Mojibuster shows how many such spots the file contains. Korean saved as ??? in a database is explained under fix MySQL encoding. Files from Japan or China use other code pages – see the converters for Shift_JIS, GBK and Big5.

Frequently asked questions

Can I open the converted file in Excel?

Yes. For a CSV, keep Save with BOM on and Excel opens it correctly on double-click – see Excel special characters.

How do I know whether my file is EUC-KR?

Drop it in: Mojibuster shows which code page it read the file with. Notepad and Notepad++ show an encoding in the status bar too, but that is a guess as well. Links with %ED%95%9C are URL-encoded characters and can be decoded here.

Can I convert UTF-8 back to EUC-KR?

Not here – Mojibuster only saves UTF-8. If you need EUC-KR, save the file again from Excel or an editor.

Is my file uploaded?

No. The file is read and converted in your browser; nothing is sent to a server.

More guides