Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Unicode to Hex

Convert Unicode characters to hexadecimal code point values.

Paste any Unicode string and get each character's hex code point — emoji, CJK glyphs, accented letters, whatever you throw at it. Pick a prefix style (0x, \x, or none) to match the language you're pasting into. And everything runs in your browser. Nothing gets uploaded.

FAQ

What is hexadecimal representation?

Hexadecimal (base-16) uses digits 0-9 and letters A-F. It's commonly used in programming to represent Unicode code points because it's more compact than decimal and aligns with byte boundaries.

What prefix styles are available?

You can choose 0x prefix (common in C/JavaScript), \\x prefix (common in string literals), or no prefix at all.

How is this different from UTF-8 hex bytes?

This tool shows the code point in hex (the abstract character number). UTF-8 hex shows the encoded byte values, which differ for characters above U+007F.

Are all characters supported?

Yes. Every valid Unicode character from U+0000 to U+10FFFF is supported, including emoji and supplementary plane characters.

Related Tools