Learning how characters are stored
Type a single letter, then an emoji, and watch one become one byte and the other become four. That difference is the whole point of UTF-8.
Converts text to binary in this tab, with nothing sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsTurning text into binary is how you see what a computer actually stores when it holds a message, and it is a staple of learning how encoding works. Each character is not a single mysterious value but a sequence of bytes, and each byte is eight bits - eight ones and zeros. The detail that most simple converters get wrong is anything beyond plain English. A letter like A fits in one byte, but an accented character or an emoji does not, and a converter that assumes one byte per character produces garbage for exactly the interesting cases. This tool encodes the text as UTF-8 first, which is the encoding the modern web runs on, so a café or a 東 becomes the correct multiple bytes rather than a broken single value.
Type a single letter, then an emoji, and watch one become one byte and the other become four. That difference is the whole point of UTF-8.
The grouped output copies cleanly into a lesson or a slide, where the byte boundaries are visible rather than a wall of digits.
Because it does not fit in one byte. UTF-8 uses up to four bytes for a character, and an emoji uses all four - thirty-two binary digits.
Yes, with the binary to text tool, as long as the byte grouping is preserved. That is why the output is spaced.
For plain English letters the bytes match ASCII, since ASCII is the first 128 values of UTF-8. Anything beyond that differs.
Yes. Every character has a byte value, including the space, which is 00100000.
Convert binary back to readable text in your browser, decoding the bytes as UTF-8.
Convert text to hexadecimal in your browser. Each character becomes its UTF-8 bytes in hex.
Convert a decimal number to binary in your browser, with full precision for large values.
Encode or decode a Caesar cipher with any shift in your browser. Negative shifts reverse the encoding.