Joy of Tools

CSV encoding fixer

Seeing é instead of é, or ’ instead of an apostrophe? Drop the CSV, check the preview and download a corrected copy.

Your files and text are not uploaded. Everything happens on this page.

or drop them here

How to use it

  1. Choose the CSV file. The tool detects its encoding and delimiter.
  2. Check the preview. If the text still looks wrong, pick another encoding or delimiter.
  3. Download the fixed file as UTF-8 with a BOM.

Questions

Why does my CSV show é instead of é in Excel?

The file is UTF-8, but Excel opened it as Windows-1252. Saving it as UTF-8 with a BOM tells Excel the right encoding, so é, ü and curly quotes display correctly.

How does the tool know the encoding?

It reads the BOM if there is one, checks whether the bytes are valid UTF-8, and otherwise scores each candidate by how natural the decoded text looks. You can always override the guess.

Why add a BOM to the UTF-8 file?

Excel looks for the BOM to recognize UTF-8. Without it, double-clicking a CSV usually opens it as Windows-1252 and every accent or non-English letter turns into garbage.

Is my file uploaded anywhere?

No. The file is read and converted in your browser, up to 30 MB, and nothing is sent to a server.

More tools