🌐 Unicode Converter

Convert between Unicode encoding and text

Output Result

📚 User Guide

What is Unicode?

Unicode is a character set standard that defines a unique numeric identifier for every character used in all writing systems worldwide. It resolves compatibility issues between different character encoding systems.

Unicode Encoding Formats

  • \uXXXX - 4-digit hexadecimal (Basic Multilingual Plane, U+0000 to U+FFFF)
  • \u{XXXXX} - ES6 format (supports all Unicode characters)
  • U+XXXX - Unicode code point notation

Use Cases

  • JavaScript string escaping
  • Chinese character escaping in JSON data
  • CSS content property
  • URL encoding supplement
  • Cross-platform text transmission

Examples

Text: Hello World
Unicode: \u0048\u0065\u006c\u006c\u006f\u0020\u0057\u006f\u0072\u006c\u0064

Emoji: 😀
Unicode: \ud83d\ude00
                

Notes

  • Emoji and certain special characters require surrogate pairs
  • Different programming languages may have different Unicode escape syntax
  • JSON must use \uXXXX format