Micro Tool Factory / English

Japanese CSV Encoding Fixer (Shift_JIS ⇄ UTF-8)

Received a CSV from a Japanese system and it opens as 譁・ュ怜喧縺・ or rows of �? The file is usually fine — it is just being read with the wrong character encoding. This free tool detects whether the file is Shift_JIS (CP932) or UTF-8 and converts it, entirely in your browser.

Input Shift_JIS or UTF-8, output UTF-8 with BOM or Shift_JIS

Open the tool (English)

Your file is not uploaded. Detection and conversion run locally with the browser's built-in text decoder. No sign-up.

What it does

How to use it

  1. Open the English version of the tool and drop your file on the area labelled Drag and drop a CSV file here, or click Choose file.
  2. Check the detected encoding and the preview. If the preview is readable, the detection is correct.
  3. Choose the output: UTF-8 with BOM for Excel, Shift_JIS if the receiving system asks for it, or UTF-8 without BOM.
  4. Click Convert and save. The converted file is saved under a new name; your original file is not changed.

Reading the symptoms

What you seeWhat happenedFix
縺, 繧, 譁 everywhereA UTF-8 file was opened as Shift_JISConvert to UTF-8 with BOM, or import it as UTF-8
Rows of �A Shift_JIS file was opened as UTF-8Read it as Shift_JIS and save as UTF-8
Some characters became ?Saved as Shift_JIS, which lacks those charactersKeep UTF-8, or replace those characters first

For developers

Detection and conversion use the open-source encoding-japanese library in the browser. A UTF-8 BOM is checked first; otherwise the library estimates the encoding from the bytes. Because short files can be ambiguous, the tool always shows the detected encoding and a preview before you convert.

Japanese version: CSV文字化け変換ツール