text-henkan

Character Encoding Converter

Pick a source and target encoding and convert pasted text or a file. Dropping in a file runs encoding detection first, so you can handle files whose encoding you do not know. Everything happens in your browser.

or choose a file

Supported encodings

UTF-8, Shift_JIS (CP932), EUC-JP, UTF-16LE, UTF-16BE and ISO-2022-JP, in both directions. UTF-8 and UTF-16 output can be written with or without a BOM.

How detection works

A BOM wins outright. Otherwise the bytes are checked for structural validity against each candidate encoding, and the decoded text is scored on how much of it looks like real prose. Candidates are shown with a confidence value and a preview so you can override the guess.

When characters cannot be converted

Shift_JIS and EUC-JP have limited repertoires — emoji, newer symbols and some variant kanji do not exist there. Anything that cannot be represented is listed after the conversion so you can decide how to handle it.

Frequently asked questions

Can I convert a file when I do not know its encoding?

Yes. Loading a file runs detection and shows ranked candidates with confidence scores and decoded previews; pick whichever reads correctly.

Why is no upload needed?

The conversion is implemented in JavaScript and runs locally, so customer lists and internal documents never leave your machine.

What is the difference between CP932 and Shift_JIS?

CP932 is Microsoft’s extension of Shift_JIS with extra vendor characters such as circled numbers and ㈱. This tool treats Shift_JIS as CP932.

Are line endings changed too?

No, line endings are preserved. Use the line ending converter if you also need CRLF/LF changed.

Related tools

Shift_JIS → UTF-8UTF-8 → Shift_JISEUC-JP → UTF-8UTF-8 → EUC-JPUTF-16 → UTF-8UTF-8 → UTF-16Encoding detectorAdd / remove BOM