fix weird characters in CSV files - encoding detection and mojibake repair

When a CSV shows José instead of José, café instead of café, or “ where quotation marks should be, the bytes were written in one character encoding and read in another. This tool fixes both halves of that problem, entirely in your browser.

how to use it

  1. Drop the file with the weird characters. The encoding is sniffed from the bytes before any text is decoded, and a chip tells you which one was found.
  2. If the garbling arrived already baked into the text by an earlier tool, a garbled text · click to fix chip appears.
  3. Click it. Each repair is verified by reversing the exact byte damage, so text that only looks wrong is left alone.
  4. Export clean UTF-8 - and switch on the BOM under csv options if the file is going back into Excel, or it will re-create the same mess on the way out.

"CSV" is a loose term here, and paste means paste anything: TSV, semicolon and pipe delimited files, ranges copied from Excel or Google Sheets, SQL client result grids, even tables copied off a web page (they arrive tab-separated) - the delimiter is detected automatically. One delimiter is chosen for the whole file; if a column turns out to carry its own separator inside it, click that column's header and choose split at delimiter to break it into real columns.

every tool in the box

Like every unfckr tool, this runs 100% in your browser: no upload, no servers, no signup, no analytics. A Content-Security-Policy header blocks every programmatic network channel, so not even malicious code could phone home - and you can watch it happen: the privacy page runs six live escape attempts and shows the browser refusing each one.

↑ back to the tool