Engineering Guides4 min readUpdated: 2026-11-24

Excel XLSX & CSV Encoding Guide: Fixing Garbled Characters with UTF-8 BOM

Stop Microsoft Excel from garbling Chinese, Japanese, Korean, and European accented CSVs—learn how UTF-8 BOM works and convert XLSX/CSV safely locally.

Quick Answer

Double-clicking a UTF-8 CSV without a Byte Order Mark (EF BB BF) causes Windows Excel to interpret bytes using legacy ANSI codepages (corrupting accents and CJK characters). Prepending a UTF-8 BOM—or exporting a native .xlsx workbook—fixes Excel display permanently.

Why double-clicking plain UTF-8 CSVs breaks in Excel

Unlike modern code editors or browser parsers that default to UTF-8, desktop Microsoft Excel relies on the operating system's legacy codepage (such as Windows-1252 or GBK) when opening .csv files directly unless it detects the 3-byte 0xEF 0xBB 0xBF UTF-8 BOM signature.

Every DataTo CSV export tool (json-to-csv, parquet-to-csv, sqlite-to-csv, excel-to-csv, jsonl-to-csv) includes an addUtf8Bom toggle enabled by default so Excel opens CJK and accented characters cleanly.

Export Excel-safe UTF-8 BOM CSV →

Handling multi-sheet Excel workbooks privately

Financial models and HR workbooks should never be uploaded to random online converters. DataTo Excel to JSON and Excel to CSV run @e965/xlsx inside local Web Workers, letting you extract either the first worksheet or every sheet as a ZIP archive.

Extract Excel sheets locally →

Tools used in this guide

Data Convert →

Related formats

Related Comparisons

Frequently asked questions

Should I enable UTF-8 BOM when importing CSV into PostgreSQL or Python?

Keep UTF-8 BOM enabled for Excel recipients, and disable Prepend UTF-8 BOM when generating CSV for strict UNIX CLI scripts or databases that expect raw header names.

Can DataTo generate real .xlsx workbooks from JSON or CSV?

Yes. JSON to Excel creates native OpenXML .xlsx files with auto-sized column widths directly in browser memory.

Does Excel to CSV handle semicolon European CSV preferences?

Yes. Switch the delimiter selector to comma ,, semicolon ;, tab \t, or pipe | anytime.

Authoritative References

More engineering guides