Skip to content
FormatMyCSV
Runs in your browser · Files are never uploaded

Fix CSV Encoding and Export UTF-8

Read a CSV using the right character encoding and export it as UTF-8 with an optional BOM.

Workspace

CSVCSV

Input data

or drop a CSV or TSV file here

Options

Cleanup options
Advanced options

Use column numbers starting at 1. Omitted columns are deleted.

Enter comma-separated names in output order. Leave positions blank to keep their names.

Preview

Your rows and columns will appear here.

How to use Fix CSV Encoding

  1. Choose the original file so the tool can read its bytes.
  2. If accents or punctuation look wrong, try an explicit encoding such as Windows-1252 or UTF-16 until the preview reads correctly.
  3. Download the UTF-8 result. Enable Add UTF-8 BOM if the app that reads it needs a UTF-8 marker.

Example

Name,City
Ana Martín,Barcelona
André Lévy,Montréal
Zoë Bell,Zürich

Use this sample to check how accented characters should look. To test the input encoding control, choose a file containing its original bytes.

Frequently asked questions

What is a CSV file in Excel?

It is a text table that Excel can read by interpreting both the characters and the separator. If accented names appear garbled while numbers look correct, the encoding may be the problem. Preview the original file using a few plausible encodings before exporting a fresh UTF-8 copy.

What type of CSV to use?

Choose UTF-8 CSV when the destination supports it. Add a byte order mark only if the receiving app needs help recognizing UTF-8. Confirm the destination’s expected separator separately, because changing the character encoding does not change where fields begin or end in the exported file.

How do I fix garbled characters in the original CSV?

Choose the original file and try its likely encoding, such as UTF-8, Windows-1252, or UTF-16. Check names with accents and punctuation in the preview, then download UTF-8. The decoding happens in your browser, and FormatMyCSV never uploads the bytes you use to diagnose the problem.

Can I repair a name that already contains garbled text?

Sometimes. Enable Repair garbled text to try reversing a common UTF-8 and Windows-1252 mix-up. Check each corrected example before exporting. If the file contains replacement characters in place of the original bytes, recover an earlier copy where possible, because the missing characters may be unrecoverable.

Why does changing the input encoding have no effect on text I pasted?

The browser receives pasted content as characters rather than the original bytes. Select the saved file to try a different decoder. If the source text already contains garbled characters, the repair option may help, but choosing another file encoding cannot reinterpret bytes that were never pasted.