Text Encoding Converter

Your input stays in your browser and is never sent.

Convert the character encoding of text and log files. Supports Shift_JIS, UTF-8 and EUC-JP.

What the text encoding converter can do (Shift_JIS, UTF-8, EUC-JP)

This text encoding converter changes the character encoding of text and log files between Shift_JIS, UTF-8 (with or without BOM), EUC-JP and JIS. It detects the encoding of each file you load and shows a preview of the contents. If the preview reads correctly, the detection is right and the conversion will not produce mojibake. You can load several files at once and download them individually or all together. No sign-up, and it's free.

How to convert text encoding in three steps

  1. Drag and drop your text or log files (.txt, .log, .csv, .json and similar). Several at a time is fine.
  2. Check the detected encoding and the preview, then choose the encoding you want to convert to.
  3. Press "Convert encoding" and download the converted files.

Choosing the right encoding to fix mojibake

When you are unsure which target to pick, ask what will open the file next; the answer decides the encoding. If nothing in particular comes to mind, UTF-8 is the safest default and is read correctly by virtually every current tool and programming language.

Use UTF-8 with BOM when Excel shows garbled characters

Windows Excel assumes Shift_JIS for a UTF-8 file that carries no marker, which is why the text comes out garbled. Saving as UTF-8 with BOM adds a short marker that says "this is UTF-8", and the file then opens correctly on a double-click.

Telling EUC-JP and Shift_JIS apart in email and log files

Older logs from Unix and Linux servers are usually EUC-JP, files of Windows origin are usually Shift_JIS, and email bodies are often JIS (ISO-2022-JP). You do not need to memorise this: pick whichever option makes the preview readable.

Converting CSV encodings or line break codes

Both tools run entirely in your browser.

Why SOKUFU's text encoding converter is safe

Many online tools upload your files to an external server for processing. This tool never sends your text files to a server: everything happens inside your browser, so there is no risk of leaks in transit or from storage on a server.

Text encoding converter FAQ

Which character encodings are supported?

Shift_JIS (SJIS), UTF-8, UTF-8 with BOM, EUC-JP and JIS (ISO-2022-JP), converted in any direction. The encoding of each file you load is detected automatically.

Can the automatic detection be wrong?

Yes. Very short files, or files with almost no Japanese text, do not give the detector enough to work with. If the preview looks garbled, set the original encoding manually.

Should I choose UTF-8 with or without BOM?

Choose with BOM if you will double-click the file open in Windows Excel. Choose without BOM for programs, text editors, and anything going to Mac or Linux, where a leftover BOM shows up as an invisible character at the start of the first line and can break parsing.

Do you support converting to EUC-JP?

Yes. Browsers cannot natively write Shift_JIS or EUC-JP, so few in-browser converters offer them. This tool carries its own conversion logic, so it can write EUC-JP without sending anything to a server.

Can I convert several files at once?

Yes. Load as many files as you like; each one is detected separately and then converted to the target you chose. Download them one at a time or all at once.

Are my files uploaded to a server?

No. Loading, detection, conversion and saving all happen inside your browser, so even files containing business or personal data never leave your device.