If this tool helped you, you can buy us a coffee ☕
Identify text file character encoding formats to fix garbled text. Supports multi-language content analysis.
File Encoding Detection
File Encoding Detection

Vigenère Cipher Encoder & Decoder
Encrypt or decrypt text using the classic polyalphabetic substitution algorithm. Ideal for cryptography learning and testing.

CRC16 Checksum Calculator
Online CRC16 checksum tool to calculate 16-bit cyclic redundancy check values for text, Hex, and Base64 data to verify data integrity.

Random Password Generator
Customize character types and length to generate strong random passwords and secure your accounts.
Dealing with garbled text but don't know the original encoding? The File Encoding Detector accurately identifies the character set format of text files (such as UTF-8, GBK, ISO-8859-1, etc.) by analyzing the characteristics of their binary byte sequences. File encoding determines how text characters are stored as binary data. This tool outputs the file name, size, encoding type, and inferred content language, helping developers quickly resolve encoding compatibility issues.
How can I improve encoding detection accuracy?
Ensure the file is larger than 1KB and contains recognizable character features. Texts that are too short may lead to misjudgments.
How are mixed-language files handled?
The tool prioritizes matching the primary language features. Files with mixed English and Chinese may be marked with dual zh-CN/en tags, but the encoding result is always based on the analysis of the entire byte sequence.
Only applicable to text-based files (.txt, .log, .csv, .html, etc.). Detection results for binary files are meaningless. Processes only 1 file at a time. Do not upload private documents containing sensitive information.
.csv files generated by Chinese Windows systems are commonly encoded in GB18030. If they appear garbled when opened in a UTF-8 environment, it is recommended to detect the original encoding first before converting. Example detection result: order_records.csv → GB18030 encoding, zh-CN language.