Unicode Decoder

Convert between Unicode escapes and text. Supports \uXXXX, \UXXXXXXXX, &#XXXX; entities, and code point lookup. All processing done in your browser.

Encode & Decode Character Info Client-Side Processing
Result will appear here...

How to Use Unicode Decoder

1

Choose Mode

Select Decode (escape to text) or Encode (text to escape) mode.

2

Enter Input

Paste Unicode escapes or plain text depending on the mode.

3

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

What Unicode escape formats are supported?

This tool supports \uXXXX (BMP), \UXXXXXXXX (full Unicode), &#DDDD; (decimal HTML entity), &#xHHHH; (hex HTML entity), and U+XXXX (code point notation) for decoding.

How does UTF-8 encoding work?

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.

What is the difference between \u and \U?

\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.