Garbled Characters in Your CSV? Fix UTF-8 Encoding & Mojibake for Excel

When Excel shows José, café, or ’ instead of real text, your CSV has an encoding mismatch or is missing its UTF-8 BOM header. Drop your file below to detect the encoding, preview repaired cells side by side, and download an Excel-ready CSV—100% in your browser.

CSV encoding fixer tool

Drop your garbled CSV or TXT file here, or click to browse Up to 50 MB. Processed locally in your browser — never uploaded.

How to Fix Garbled Characters in a CSV in 3 Steps

  1. Drop your broken CSV (or test with our sample)

    Upload any CSV or TXT file up to 50 MB. The tool inspects the raw byte header to detect UTF-8 (with or without BOM), Windows-1252, ISO-8859-1, UTF-16, or Shift_JIS without sending your data anywhere.

  2. Verify the side-by-side before & after preview

    Compare how Excel currently misreads your accents and symbols against the repaired output. Highlighted cells show exact fixes. If the auto-detected encoding looks wrong, override it from the dropdown.

  3. Download as UTF-8 with BOM for Excel

    Keep "UTF-8 with BOM (Best for Excel)" selected so double-clicking the file on Windows or macOS opens every accent, currency symbol, and non-English name cleanly. Choose plain UTF-8 for Python, SQL, or API imports.

Real Mojibake Examples: What Broke & How It Fixes

What Excel shows Actual text Original hex bytes Root cause
José / Café José / Café C3 A9 (UTF-8 for é) UTF-8 file opened in Excel without a BOM, misread as Windows-1252.
Customer’s Customer’s E2 80 99 (UTF-8 curly apostrophe) 3-byte UTF-8 punctuation read as three single-byte ANSI characters.
€42.00 €42.00 E2 82 AC (UTF-8 Euro sign) Missing EF BB BF header caused Excel to ignore UTF-8 decoding.
Müller / Zürich Müller / Zürich C3 BC (UTF-8 for ü) German umlaut exported from Shopify, Stripe, or MySQL without BOM.
??? or � (U+FFFD) Cannot be recovered 3F or EF BF BD Original bytes were already destroyed by an earlier lossy save.

Why Excel Breaks UTF-8 CSV Files: The Technical Root Cause

A plain CSV file stores raw bytes—unlike an .xlsx workbook, it has no XML header declaring which character table those bytes belong to. Modern web platforms export CSVs in UTF-8, where standard English ASCII letters take 1 byte and accented letters or currency symbols take 2 to 4 bytes.

When you double-click a CSV file on Windows, Microsoft Excel checks the very first 3 bytes for the UTF-8 Byte Order Mark (BOM): 0xEF 0xBB 0xBF. If those three bytes are missing, Excel assumes legacy Windows-1252 and renders each UTF-8 byte as a separate symbol.

Manual Method vs GridFix Browser Tool Comparison

TaskManual methodGridFix browser tool
Fixing José & ’ in Excel Open blank workbook, go to Data → From Text/CSV, manually pick 65001: UTF-8, then load and re-save. Prepends the official EF BB BF UTF-8 BOM in one click so double-clicking opens cleanly.
Double-encoded mojibake Requires writing a Python ftfy or iconv script to reverse Windows-1252 bytes back to UTF-8. Automatically reverses double-encoded sequences line by line with live cell highlighting.
Legacy Windows-1252 / Shift_JIS files Guessing encodings in Notepad++ or VS Code until accented letters look normal. Auto-detects raw byte patterns and lets you test source encodings instantly.
Data privacy (customer lists & payroll) Desktop editors keep files local. Many online converters upload CSVs to remote servers. 100% browser-based using the native TextDecoder API. Zero bytes leave your device.

If your CSV also opens in a single column or loses ZIP-code zeros in Excel, run it through our CSV Delimiter Fixer or Excel Leading Zero Restorer.

Frequently Asked Questions

Why does Excel show weird characters like é, ’, or € when I open a CSV?

Most web apps (Shopify, Stripe, HubSpot, Google Sheets, MySQL) export CSV files in UTF-8 without a Byte Order Mark (BOM). When you double-click a BOM-less CSV on Windows, Excel falls back to the legacy Windows-1252 code page instead of UTF-8. Every 2-byte or 3-byte UTF-8 character is then split into two or three unrelated symbols: for example, "é" (hex C3 A9) appears as "é". Adding the 3-byte UTF-8 BOM (EF BB BF) tells Excel to read the file as UTF-8 automatically.

Should I choose "UTF-8 with BOM" or "UTF-8 without BOM"?

Choose "UTF-8 with BOM" if you or your team will open the CSV by double-clicking it in Microsoft Excel. Choose "UTF-8 without BOM" if you are importing the file into PostgreSQL, MySQL, Python pandas, Shopify, or a Linux command-line script, because some strict parsers treat the BOM bytes as part of the first column header name.

Can this tool repair characters that already turned into question marks (???) or replacement diamonds (�)?

No tool can recover data that has already been replaced with literal "?" or "�" (U+FFFD) characters. Those symbols mean an earlier program discarded the original byte values permanently. You will need to re-export the original CSV from your source platform and run the fresh export through this tool before opening or saving it in Excel.

What is double-encoded mojibake, and how does the repair switch work?

Double encoding happens when someone opens a UTF-8 CSV in Excel (seeing "José"), ignores the garbled text, and clicks Save as UTF-8. The file now literally stores the UTF-8 bytes for "Ã" and "©". With "Repair double-encoded mojibake" enabled, GridFix maps Windows-1252 characters back to their original single bytes and validates them strictly as UTF-8, restoring "José" safely.

Does fixing CSV encoding preserve leading zeros on ZIP codes or change delimiters?

This tool only repairs character encoding and writes clean UTF-8 bytes—it does not modify your numbers or column separators. Use our Excel Leading Zero Restorer, CSV to Excel Converter, or CSV Delimiter Fixer if your file also has dropped zeros or semicolon columns.

Is my customer or financial CSV uploaded to a server?

No. Your file is read locally via the browser File API and converted using JavaScript TextDecoder and TextEncoder in your tab. Nothing is uploaded to GridFix or any third-party server.