Developer tools

Unicode Code Point Converter

Unicode Code Point Converter

Convert text to U+ code points, hex or decimal, see UTF-8 and UTF-16 per character, and convert back.

About this tool

About Unicode Code Point Converter

Every character has a code point, the number Unicode assigns to it, written as U+ followed by at least four hex digits. Paste any text to get its code points as U+1F600, 0x1F600 or plain decimal, separated by spaces, commas or new lines, together with a table that shows each character beside its UTF-8 bytes and UTF-16 code units. That table is where encoding bugs become obvious: you can see that é is two bytes in UTF-8, that an emoji is a surrogate pair in UTF-16, or that a skin-tone emoji is really two code points. Switch to Code points → text to go the other way. The parser understands U+ notation, 0x prefixes, \u{…}, HTML references and bare numbers in decimal or hex, and stops with a clear message when a value is beyond U+10FFFF or is a lone surrogate rather than a character. Everything is calculated in your browser.

Built and maintained by Abhi JainUpdated

How to Convert Code Points

  1. 1

    Choose a direction

    Pick Text → code points to look up characters, or Code points → text to rebuild a string.

  2. 2

    Set the format

    Choose the Format (U+1F600, 0x1F600 or 128512) and Separator, or say whether Bare numbers are decimal or hex.

  3. 3

    Read and copy

    Paste your input. Copy the list, or read the UTF-8 and UTF-16 columns in the table under it.

Unicode Code Point Converter: questions and answers

What does U+ mean in Unicode?

U+ marks a Unicode code point written in hexadecimal, padded to at least four digits. U+0041 is the letter A (decimal 65) and U+1F600 is 😀 (decimal 128512).

What is the largest Unicode code point?

U+10FFFF. Unicode has 1,114,112 code points from U+0000 to U+10FFFF. The range U+D800 to U+DFFF is reserved for UTF-16 surrogates and never encodes a character on its own.

Why does one emoji show several code points?

Many emoji are sequences. A thumbs-up with a skin tone is U+1F44D followed by a modifier such as U+1F3FD, and family or flag emoji join several code points. They display as one symbol but are stored as several. The Unicode Character Inspector groups them into visible characters.

How is a code point different from UTF-8 bytes?

The code point is the character's number. UTF-8 is one way to store that number in bytes, using 1 to 4 bytes per character: € is U+20AC, stored as E2 82 AC in UTF-8 and as 20AC in UTF-16.

Can I paste decimal numbers instead of hex?

Yes. Numbers with U+, 0x or \u prefixes are always hex. For numbers without a prefix, set Bare numbers are to Decimal or Hex.