ExcelでUTF-8のCSVを開く方法(BOM付きに変換)
この記事のポイント
- CSVを選ぶ
- 変換後を「UTF-8(BOM付き)」にする
- 保存してExcelで開く
古いバージョンのExcelは、BOMのないUTF-8を、文字化けして開くことがあります。文字コードを変換する で、BOMをつけると、開きやすくなります。
手順
- UTF-8のCSVファイルを選ぶ
- 「変換後」で「UTF-8(BOM付き・Excel向け)」を選ぶ
- 保存したファイルを、Excelで開く
BOM付きは、プログラムやWebシステムに取り込むと、先頭に余計な文字が入ることがあります。用途に合わせて選んでください。
文字コードを変換する(文字化けを直す)を使う(無料)
あわせて使えるツール
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
同じツールの、ほかの解説
Opening a UTF-8 CSV in Excel (Convert to UTF-8 with BOM)
Key points
- Choose the CSV
- Set the target to "UTF-8 with BOM"
- Save and open in Excel
Some versions of Excel garble UTF-8 files that have no BOM. Adding a BOM with Convert Text Encoding makes them open more reliably.
Steps
- Choose the UTF-8 CSV file
- Under "Convert to" choose "UTF-8 with BOM (for Excel)"
- Open the saved file in Excel
A BOM can add an extra character at the start when files are loaded by programs or web systems. Choose to suit the purpose.
Use "Convert Text Encoding (Fix Garbled Text)" (free)
Tools that go well with this
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.