Unicode Character Inspector

Reveal the Unicode code point, HTML entity, and UTF-8 byte sequence of any character.

How It Works

This tool takes your input character and extracts its Unicode scalar value using JavaScript's codePointAt(0) method. For the Unicode code point, it formats the scalar value as U+XXXX. HTML entities are generated in both decimal (&#DD;) and hexadecimal (&#xHH;) forms. UTF-8 encoding follows RFC 3629: code points up to U+007F use 1 byte, up to U+07FF use 2 bytes, up to U+FFFF use 3 bytes, and up to U+10FFFF use 4 bytes — each byte is computed via bit-shifting and masking operations to produce the correct leading and continuation byte patterns.

FAQ

What is a Unicode code point?

A Unicode code point is a unique numerical value assigned to every character in the Unicode standard, written as U+ followed by 4 to 6 hexadecimal digits. For example, the letter "A" is U+0041 and the emoji "😀" is U+1F600. It serves as the universal identifier for characters across all writing systems.

How do I find the UTF-8 bytes of a character?

UTF-8 encodes each Unicode code point into 1 to 4 bytes using a variable-length scheme. You can use this Unicode Inspector tool by typing or pasting a character and clicking "Inspect Character" to instantly see its UTF-8 byte sequence in hexadecimal format.

What is the difference between UTF-8 and UTF-16?

UTF-8 is a variable-length encoding (1–4 bytes) optimized for ASCII text and widely used on the web. UTF-16 uses 2 or 4 bytes per character and is commonly used internally by JavaScript and Windows. ASCII characters use 1 byte in UTF-8 but 2 bytes in UTF-16, making UTF-8 more space-efficient for English text.

Related Tools

Free tools by TUNA — energy supply from vetted manufacturers