CSV Encoding Fixer
Fix garbled characters, strip a bad byte-order mark, and switch semicolons to commas, before a broken import.
Where garbled CSVs come from
A CSV saved from Excel on Windows is often Windows-1252 encoded, not UTF-8. Open that file assuming UTF-8 and every accented character (é, ñ, ü) turns into a garbled multi-character sequence, or gets replaced outright. Excel also sometimes uses a semicolon instead of a comma as the delimiter, depending on the system's regional settings.
This tool reads the file's raw bytes (not just its text), checks for a byte-order mark, and lets you pick the real source encoding when auto-detection can't be sure, so it can actually recover the original characters instead of guessing after the damage is done.
Fixing a file
- Auto-detect only catches a byte-order mark (a few bytes some programs add at the start of a UTF-8 or UTF-16 file). Most Windows-1252 files have no BOM at all, so you'll usually need to pick it by hand.
- If you see a warning about characters that couldn't be decoded, try Windows-1252, by far the most common culprit for files exported from Excel.
- Add a UTF-8 byte-order mark on the way out if the file is going back into Excel, it's what makes Excel show accented characters correctly instead of misreading them again.
Questions people ask
Why does the fixed file still look wrong when I open it in Excel?
Make sure "Add a UTF-8 byte-order mark" is checked before downloading. Without it, Excel sometimes assumes the wrong encoding again on its own.
How do I know which source encoding to pick?
If Auto-detect finds a byte-order mark, trust it. Otherwise, try Windows-1252 first (the most common case), and check the "characters that couldn't be decoded" count: a high number means you picked the wrong one.
Does this fix a file exported with the wrong delimiter?
Yes. Whatever delimiter the file uses (comma, semicolon, tab or pipe) is detected automatically, and the output is always written back out with commas.
Is my file uploaded anywhere?
No. It's read and rewritten entirely in your browser.
Related tools
Last reviewed 30 September 2026.
