1. Home
  2. Spreadsheet & data tools
  3. Fix CSV Encoding

Fix CSV Encoding

Names like “Müller” or “Ãmile” mean the file was read with the wrong text encoding. Re-read it correctly, repair the broken characters and save a clean UTF-8 file.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Fix CSV Encoding

  1. Drop the CSV or text file.
  2. Check the detected encoding, or pick the right one while watching the preview.
  3. Download the repaired UTF-8 file.

Features

  • Detects UTF-8, UTF-8 with BOM, UTF-16 and Windows-1252
  • 16 encodings including Cyrillic, Central European, Greek, Turkish, Japanese and Chinese
  • Repairs text that was already saved double-encoded
  • Saves UTF-8 with or without BOM
  • Shows every changed cell

Supported formats

You can open

  • CSV
  • TSV
  • TXT

You get

  • CSV
  • TSV

Private by design

Your files are opened and processed by your browser on this device. They are never uploaded to openWorkstand or anyone else, so the Fix CSV Encoding is safe for contracts, IDs, photos and work documents. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Automatic detection tells UTF-8, UTF-16 and Windows-1252 apart. For other encodings, such as Cyrillic or Japanese files, pick the encoding in the list while watching the preview.

Guide

Fixing garbled characters in CSV files: encodings, BOMs and “é” mojibake

“Müller” instead of “Müller”, “’” instead of an apostrophe, boxes or question marks where Cyrillic or Chinese should be: garbled characters are the most common CSV problem after wrong separators. They come from text encodings, the rules that turn letters into bytes. This tool reads the file with the right encoding, repairs text that was already damaged, and saves a clean UTF-8 file.

Two different problems

Sometimes the file is fine but was read with the wrong encoding: a Windows-1252 export opened as UTF-8, or the other way round. Choosing the right encoding fixes it completely. In other cases the damage is inside the file: UTF-8 text was once read as Windows-1252 and saved again, so the garbled characters are now stored as real text. That needs a repair. This tool handles both.

Automatic detection

The tool looks for a byte order mark first, which identifies UTF-8 and UTF-16 with certainty. Without one, it recognizes UTF-16 from its pattern of zero bytes, accepts the file as UTF-8 if every byte sequence is valid, and otherwise reads it as Windows-1252, the most common legacy encoding in Western Europe and the Americas. The detected encoding is shown under the file name and in the summary.

Choosing another encoding

Detection cannot tell legacy encodings apart reliably, because they all use the same byte range. For Central European, Cyrillic, Greek, Turkish, Arabic, Japanese, Chinese or Korean files, open the encoding list under the file name and pick the right one while watching the preview. The list of special characters found in the file helps: when it shows the letters you expect, the choice is right.

Repairing double-encoded text

“Repair mixed-up characters” looks for the typical patterns left when UTF-8 was misread as Windows-1252, such as ü for ü, é for é and – for a dash, turns them back into bytes and decodes them correctly. Each run is checked: if it does not form valid UTF-8, it is left alone, so genuine text like “Ångström” is never changed. Repaired cells are highlighted in the preview and counted.

Saving clean UTF-8

The download is UTF-8 with the original separator, so the file still imports wherever it did before. Add a byte order mark for Excel, which otherwise may misread UTF-8 when the file is opened by double-click; leave it out for databases and scripts. Choose Windows or Unix line endings to suit the destination.

Prevent it next time

When exporting from a system, choose “UTF-8” or “Unicode” if offered. In Excel, use “CSV UTF-8 (comma delimited)” in the Save As dialog instead of plain “CSV”.

UTF-16 files from Excel

Excel’s “Unicode Text” export writes UTF-16 with tabs between values. Many programs reject it. Drop such a file here: the encoding is recognized from its byte order mark and the tab separator is detected, and the download is a regular UTF-8 file that keeps tabs as the separator.

If the problem is columns rather than characters, change the separator with Change CSV Delimiter. To open the repaired file as a workbook, use CSV to Excel. For cleaning stray spaces and invisible characters in plain text, try the Text Cleaner.

Checked against the current version of the Fix CSV Encoding on .

Troubleshooting

The file does not open

Check that it is one of the supported formats above and opens in another app. Damaged files and password-protected PDFs cannot be read until they are repaired or unlocked.

It is slow or stops on a very large file

Everything runs on your device, so speed depends on its memory. Close other tabs, use a computer rather than a phone, or split the file into smaller parts first.

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

My file shows question marks or boxes instead of letters. Can they be restored?

Only if the original bytes are still there. When a program has already replaced unknown characters with “?” and saved the file, the information is gone; get a fresh export from the source system, saved as UTF-8.

Which encoding should I pick for a Russian file?

Try Windows-1251 first, which most Windows programs used for Cyrillic, then KOI8-R. Watch the preview and the list of special characters: when names read correctly, you have the right one.

What does “é” instead of “é” mean?

The file is UTF-8, but a program read it as Windows-1252, so each accented letter became two strange characters. “Repair mixed-up characters” turns them back into the original letters.

Should I add a BOM?

Add it if the file will be opened in Excel by double-clicking, so Excel recognizes UTF-8. Leave it out for databases, scripts and most web importers, which may treat the BOM as part of the first header.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.