Type text to see its UTF-8 bytes in hex, binary and decimal, its Unicode code points and UTF-16; or paste hex, binary, decimal bytes or code points to get the text back.
Converted by this page:
| Text | Hex (UTF-8) | Code points |
|---|---|---|
Hi | 48 69 | U+0048 U+0069 |
café | 63 61 66 c3 a9 | U+0063 U+0061 U+0066 U+00E9 |
€ | e2 82 ac | U+20AC |
😀 | f0 9f 98 80 | U+1F600 |
ASCII letters are one byte each; é takes two bytes in UTF-8, € three, and an emoji four. That’s why a string’s length in characters and in bytes can differ.
For the first 128 characters UTF-8 and ASCII are the same bytes, so yes. Beyond them it shows UTF-8, the encoding the web uses.
Hex needs pairs of 0–9 and A–F, and the bytes must be valid UTF-8 to show as text.
Open all 35 Dev Tools. Everything runs in your browser; nothing you paste is uploaded.