Unicode Encoder / Decoder
Encode text to Unicode escape sequences (\uXXXX) and decode back
Unicode escape sequences allow non-ASCII characters to be safely embedded in source code, JSON, and configuration files that require ASCII-safe encoding. The \uXXXX format supports the Basic Multilingual Plane (codepoints U+0000 to U+FFFF), while \UXXXXXXXX handles supplementary characters including emoji. JavaScript and Java use \uXXXX, CSS uses \XXXX, and Python supports both \uXXXX and \UXXXXXXXX for full Unicode coverage.
Related Tools
Base64 EncoderEncode text and binary data as Base64Base32 EncoderEncode or decode Base32 per RFC 4648URL EncoderPercent-encode and decode URLsHash GeneratorGenerate MD5, SHA-1, and SHA-256 hashesHMAC GeneratorCreate HMAC signatures with a secret keyBcrypt GeneratorHash and verify passwords with bcryptPassword GeneratorStrong random passwords with strength indicatorPassphrase GeneratorGenerate memorable multi-word passphrases
Frequently Asked Questions
- It outputs standard JavaScript/JSON Unicode escape sequences like \u0048\u0065\u006C\u006C\u006F for "Hello". For code points above U+FFFF, \uXXXXXX is used.
Related Tools
Base64 EncoderEncode text and binary data as Base64Base32 EncoderEncode or decode Base32 per RFC 4648URL EncoderPercent-encode and decode URLsHash GeneratorGenerate MD5, SHA-1, and SHA-256 hashesHMAC GeneratorCreate HMAC signatures with a secret keyBcrypt GeneratorHash and verify passwords with bcryptPassword GeneratorStrong random passwords with strength indicatorPassphrase GeneratorGenerate memorable multi-word passphrases