Unicode Decoder
Convert between Unicode escapes and text. Supports \uXXXX, \UXXXXXXXX, &#XXXX; entities, and code point lookup. All processing done in your browser.
Result will appear here...
Character Information
| Character | Code Point | UTF-8 Bytes | HTML Entity | CSS Escape | JS Escape |
|---|
How to Use Unicode Decoder
Choose Mode
Select Decode (escape to text) or Encode (text to escape) mode.
Enter Input
Paste Unicode escapes or plain text depending on the mode.
Convert
Click Convert and review the result and character details.
What is Unicode Encoding?
Unicode encoding allows characters from any language or symbol system to be represented in different formats. Common encoding formats include \uXXXX (JavaScript/JSON), &#NNNNN; (HTML entities), and U+XXXX (Unicode code points). These encodings ensure text can be safely transmitted and displayed across different systems.
Encoding Formats
JavaScript (\uXXXX)
Used in JSON and JavaScript strings
HTML Entities (&#XXXX;)
Used in HTML to represent special characters
CSS Escapes (\XXXXXX)
Used in CSS content and identifiers
Frequently Asked Questions
This tool supports \uXXXX (BMP), \UXXXXXXXX (full Unicode), &#DDDD; (decimal HTML entity), &#xHHHH; (hex HTML entity), and U+XXXX (code point notation) for decoding.
UTF-8 encodes each Unicode code point using 1 to 4 bytes. ASCII characters (U+0000 to U+007F) use 1 byte, Latin and other common characters use 2 bytes, most CJK characters use 3 bytes, and emoji and rare characters use 4 bytes.
\uXXXX uses 4 hex digits and can represent characters in the Basic Multilingual Plane (U+0000 to U+FFFF). \UXXXXXXXX uses 8 hex digits and can represent any Unicode character including those beyond the BMP.