Encode text into \uXXXX Unicode escape sequences, or decode escape sequences back into readable text.
H\u00e9llo, \u4e16\u754c!
Unicode Escape Converter provides bidirectional conversion between international text and \uXXXX hexadecimal escape sequences. It encodes non-ASCII characters into 4-digit hexadecimal escapes for safe embedding in JavaScript, TypeScript, JSON, Java, and property files. Characters beyond the Basic Multilingual Plane (> U+FFFF, such as emojis) are automatically converted into UTF-16 surrogate pairs (e.g., \ud83d\ude80).
Accurately splits astral code points (> U+FFFF, including emojis) into valid surrogate pairs.
Switch between encoding international text and decoding \uXXXX hexadecimal sequences to plain text.
Leaves standard ASCII characters (0–127) untouched while escaping non-ASCII glyphs.
Conversions execute strictly in browser JavaScript memory with no data sent to external servers.
Escapes non-ASCII characters and splits emojis into surrogate pairs
Héllo, 世界! 🚀
H\u00e9llo, \u4e16\u754c! \ud83d\ude80
Reconstructs Unicode characters and surrogate pairs
H\u00e9llo, \u4e16\u754c! \ud83d\ude80
Héllo, 世界! 🚀
Encode special characters to HTML entities or decode entities to text.
Encode text into Base64.
Inspect Unicode code points, or normalize text to NFC/NFD/NFKC/NFKD.
Percent-encode text and parameters for safe use in URLs and APIs.
Decode Base64-encoded strings back to plain text and UTF-8.