Skip to content
AZ Tools

Text Encoding Converter

Open text files in legacy encodings (EUC-KR, Shift_JIS, Windows-1252…) as readable UTF-8.

How to use

  1. Pick the source encoding (most text from older Korean systems is EUC-KR).
  2. Drag and drop a text file or click to choose one.
  3. Read the decoded text or switch encoding to compare.
  4. Copy or download the result as UTF-8.

About this tool

Show

Drop a text file that was saved in something other than UTF-8 and read it correctly here, then download the result as UTF-8. More than twenty legacy encodings are covered — Korean EUC-KR, Japanese Shift_JIS and EUC-JP, Chinese GB18030 and Big5, Cyrillic Windows-1251, Western European ISO-8859-1 and the rest of the Windows code pages — using the decoders built into the browser itself, so the result matches what any other browser would show. Nothing detects the encoding for you, and that is on purpose: bytes alone rarely identify one. Decoding is non-fatal, so a wrong guess fills the text with replacement characters instead of failing, and you simply try the next candidate until the text reads properly.

Frequently asked questions

Why does my file show mojibake (garbled text)?

It was saved in a different encoding than your viewer assumes. Try a different source encoding from the list — EUC-KR for older Korean files, Shift_JIS for Japanese, GB18030 for Simplified Chinese, Windows-1252 for Western European.

Is the file uploaded?

No. The file is read with the browser's TextDecoder API; nothing leaves your device.

How big a file can it handle?

There's no explicit limit, but very large files (hundreds of MB) may slow your browser tab. For huge logs use a dedicated text editor.

Can I convert from UTF-8 to a legacy encoding?

Not in the browser — TextEncoder only outputs UTF-8. This tool is one-way: legacy → UTF-8.

How do I tell which encoding a file actually uses?

By reading it, not by inspecting it. Bytes above 127 are legal in almost every legacy encoding, so nothing in the file announces which one it is — the practical method is to try the likely candidate for the file's origin and see whether the text makes sense. A Korean file is probably EUC-KR, a Japanese one Shift_JIS, a Western European one Windows-1252.

Why can I not convert the other way, into a legacy encoding?

Because the browser only encodes to UTF-8 — TextEncoder supports no other output. That is deliberate on the platform's part: writing a new file in a legacy encoding creates the very problem this tool exists to fix. If a system genuinely requires one, do that conversion where the system lives, with iconv or its own import settings.

Guides on this topic

Related tools