Online Toolbox

TEXT🔧Encoding Fix

GBK⇄UTF-8 · 8 encodings auto-detect

📦100% browser-local· processing in browser, no upload

Common scenarios: CSV opened in Excel showing mojibake (choose GBK → UTF-8), web scraping garbled text (ISO-8859-1 → UTF-8). When the target encoding is UTF-8, the repaired readable text is output directly (the core scenario). For other target encodings, since the browser only supports native UTF-8 encoding, the UTF-8 bytes of the text are shown in hex for reference. “Auto-detect Encoding” tries 8 encodings and picks the readable results.

Encoding Fix: Auto-Detect Among 8 Encodings + Convert

This tool auto-detects the real encoding of garbled text (GBK/GB18030/Big5/UTF-8/UTF-16, etc.) and converts it to a target encoding. The most common case is: a GBK file exported from Windows is opened as UTF-8 and all Chinese text becomes garbled.

Typical scenarios: ① fix garbled Chinese CSV exported from a spreadsheet (most common); ② convert a scraped GBK web page to UTF-8; ③ convert Big5 traditional Chinese to GBK/UTF-8 simplified (combine with a simplified/traditional tool); ④ fix old database backups with mislabeled encodings.

How to use: ① paste the garbled text; ② the tool tries multiple encodings and suggests the most likely one based on garbling severity; ③ choose the target encoding and click Convert — copy the result.

Notes: ① detection is less reliable for very short text (under 200 characters) — add a longer sample and try again; ② pure English/numeric text is valid under every encoding, so the tool reports "cannot determine" — use the file-header marker as a guide; ③ if information was already lost in the source, conversion can only "guess" — try several combinations for the best result.

Related Tools

🕘 Timestamp Base64🔢 Char Counter{ } JSON Tools🔐 Password Gen Color Convert

Home