Unicode Encode/Decode

What is Unicode Encode/Decode?

Unicode assigns a unique code point to every character in the world. This tool converts between text and various Unicode escape formats for JavaScript, Java, Python development, HTML entity handling and mojibake debugging.

Key Features

  • \u format: JavaScript/Java style \u4F60 escape sequences with proper surrogate pair handling.
  • U+ code points: display Unicode code points (e.g. U+4F60).
  • HTML entities: decimal (你) and hexadecimal (你) entity formats.
  • Emoji friendly: correctly handles 4-byte Emoji surrogate pairs.
  • Local processing: data never leaves your browser.

How to Use

  1. Enter text or Unicode escape sequences.
  2. Choose output format and separator.
  3. Click "Encode" or "Decode".
  4. Copy results to your code or config files.