Tool collection

Unicode to Chinese

Unicode Format:
1
1
Tool Description

This tool is an online utility for mutual conversion between Unicode and Chinese, supporting JavaScript-style \uXXXX escape sequences and HTML entity forms of decimal and hexadecimal encoding, helping developers quickly encode or decode Chinese content.

What is Unicode?

Unicode is a character encoding standard used on computers, designed to provide a unique numeric code for every character in the world. The Unicode code point for the Chinese character "中" is U+4E2D, with common representations such as: \u4e2d (JS escape), 中 (decimal entity), 中 (hexadecimal entity).

Supported Formats
  • \uXXXX — Escape format commonly used in JavaScript, Java, Python, and other languages (fixed 4 hexadecimal digits per character).
  • &#XXXX; — HTML entity format using decimal numbers to represent character encoding, commonly used to display special characters in web pages.
  • &#xXXXX; — HTML entity format using hexadecimal numbers to represent character encoding.
Main Use Cases
  • Process Unicode-encoded data returned by APIs and restore it to readable Chinese content.
  • Convert to Unicode to avoid character encoding issues when hardcoding Chinese content in code.
  • Parse web page source code containing HTML entity encoding to view the actual characters.
  • Troubleshoot garbled text issues and verify the actual Unicode code points of characters.
Tool Features
  • Bidirectional conversion: Supports Unicode to Chinese and Chinese to Unicode with one click.
  • Multi-format support: Compatible with \uXXXX, &#XXXX;, and &#xXXXX; three mainstream encoding formats.
  • Two-column layout: Input and output are displayed separately, making it more intuitive to compare content before and after conversion.
  • Mixed processing: Can process text with mixed Chinese, English, and symbols, encoding only non-ASCII characters.
  • Line number editor: Both left and right text boxes have line numbers, making it easy to view and locate multi-line content.
  • Safe and reliable: Pure front-end execution, no data uploaded, absolutely protects your data privacy.