Online Chinese Characters/ASCII Code/Unicode Encoding Mutual Conversion Tool

This tool can achieve mutual conversion between Chinese characters/ASCII code/Unicode encoding. Users can follow the prompts for online applications such as mutual conversion of Chinese characters Unicode, ASCII and Unicode, etc. It is a very classic and practical online encoding conversion tool. Detailed introductions to ASCII code and Unicode encoding are also provided below the tool. Friends in need are welcome to use it.


Enter the Unicode or Ascii characters you want to process in the text box:

Unicode Introduction | Unicode Introduce

  • Unicode (Unified, Universal Code, Single) is a character encoding used on computers.
  • Unicode was created to address the limitations of traditional character encoding schemes. It assigns a unique binary code to each character in every language, meeting the requirements for text conversion and processing across languages and platforms.
  • Unicode is an international standard that can accommodate all the characters and symbols in the world. Unicode maps these characters with numbers from 0-0x10FFFF, which can accommodate up to 1,114,112 characters, or 1,114,112 code positions. A code position is a number that can be assigned to a character.
  • Among the five planes defined by Unicode so far, the Basic Multilingual Plane (BMP) is the most important, with the range of Chinese characters encoded as: 4E00-9FBFCJK Unified Ideographs (CJK Unified Ideographs)

ASCII Introduction | ASCII Introduce

  • ASCII is a computer encoding system based on the Latin alphabet. It is mainly used to display modern English and other Western European languages.
  • It is the most widely used single-byte encoding system today and is equivalent to the international standard ISO/IEC 646.
  • 0-127 is the range of 7-bit ASCII codes, which is an international standard. As for Chinese characters, different character sets use different ranges of ASCII codes. Common Chinese character sets include GB2312-80, GBK, Big5, Unicode, etc.
  • The GB_2312 character set is currently the most commonly used Chinese encoding standard. In this standard, each Chinese character is represented by 2 bytes, with the ASCII code for each byte being 161-254 (hexadecimal A1 - FE). The first byte corresponds to the area code of zones 1-94, and the second byte corresponds to the position code of positions 1-94.

ASCII Introduction | ASCII Introduce

  • native2ascii is a tool provided by Sun Java SDK. It is used to convert the encoding of other text files (such as *.txt, *.ini, *.properties, *.java, etc.) to Unicode encoding. The reason for the encoding conversion is the internationalization of programs.
  • After installing the JDK, if you are installing on Windows, there will be a bin directory under the JDK installation directory, where native2ascii.exe is the native2ascii Chinese to Unicode conversion tool.
  • The command line naming format for native2ascii is: native2ascii -[options] [inputfile [outputfile]].
  • For example: native2ascii zh.txt u.txt: Converts zh.txt to Unicode encoding and outputs the file to u.txt.

About This Tool | About

  • In this tool, the conversion between Chinese characters and Unicode is developed using JS, supports hexadecimal and decimal representation, and can convert between Chinese characters and Unicode; by default, hexadecimal is used.
  • The conversion between ASCII and Unicode in this tool is developed using JS, and you can find the source code inside.
  • If you have any comments or suggestions, please leave a message below.