How to use
- In Text → numbers, type some text and pick a base (binary, octal, decimal or hex); the byte values appear instantly. Choose a separator (space, none, comma, new line) and optional prefixes (
0b,0x). - In Numbers → text, paste values such as
01001000 01101001,48 69,0x48, 0x69or\x48\x69. Leave the base on “Auto-detect” and it’s guessed from the input. - The table below lists each character’s code point (U+) and its UTF-8 bytes.
How text becomes numbers
Computers store text as a sequence of bytes (0–255, 8 bits each). This tool uses UTF-8, the standard encoding of the web. In UTF-8, ASCII letters and digits take 1 byte, accented Latin letters 2, most CJK characters 3, and most emoji 4.
| Character | Code point | UTF-8 (hex) | UTF-8 (binary) |
|---|---|---|---|
| H | U+0048 | 48 | 01001000 |
| i | U+0069 | 69 | 01101001 |
| é | U+00E9 | C3 A9 | 11000011 10101001 |
| 😀 | U+1F600 | F0 9F 98 80 | 11110000 10011111 10011000 10000000 |
A byte is always 8 digits in binary, 3 in octal and 2 in hex, so those can be split even without separators. Decimal bytes vary in length (72, 105), so they must be separated by spaces or commas.
Things to watch out for
- Older data saved in a legacy encoding such as Windows-1252 or Latin-1 uses different bytes (é is E9 in Latin-1). Decoding such bytes shows a warning that they aren’t valid UTF-8, and some characters appear as �.
- This tool works with bytes. To convert a single number larger than 255 between bases, use the Number Base Converter.
- Turning text into binary isn’t encryption — anyone can reverse it instantly.
FAQ
Is this the same as ASCII?
For English letters, digits and basic symbols (U+0000–U+007F), ASCII and UTF-8 values are identical. Characters outside ASCII, like é or emoji, use multiple UTF-8 bytes.
What about Base64?
To encode text as Base64, use the Base64 Encoder/Decoder. Nothing you type is uploaded.