Unicode Code Point Finder

Find the Unicode code point, UTF-8 bytes and UTF-16 units for each character in a text, or turn hex code points back into characters.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Unicode Code Point Finder

  1. Choose Characters to code points, then type or paste your text.
  2. Read the code point, UTF-8 bytes, UTF-16 units and decimal value for each character.
  3. To go the other way, choose Code points to characters and enter hex values such as U+0041 separated by spaces.

Frequently asked questions

What is a Unicode code point?

A code point is the number assigned to a character in the Unicode standard. It ranges from 0 to 10FFFF in hex and is usually written as U+ followed by at least four hex digits, such as U+0041 for the letter A.

How many bytes does a code point take in UTF-8?

UTF-8 uses 1 byte for code points 0 to 127, 2 bytes for 128 to 2047, 3 bytes for 2048 to 65535, and 4 bytes for anything above 65535.

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

UTF-8 uses 1 to 4 bytes per character, while UTF-16 uses one 16-bit unit for code points up to FFFF and two units (a surrogate pair) for higher code points.

Why does some text report a length of 2 for one character?

JavaScript and other UTF-16 based strings count code units, so characters above U+FFFF, such as many emoji, take two units and report a length of 2.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.