Write Your Name in Binary (Code Maker)

Write Your Name in Binary (Code Maker)

A binary code maker for a name is just UTF-8: each ASCII letter is one byte, accented letters and emoji use 2–4 bytes, and each byte is written as eight 0s and 1s. FlashKit’s binary translator for names as UTF-8 bytes does that on a dedicated page. The hub’s Text ↔ Binary tab is the same mapping. Type the name on the left; spaced 8-bit groups appear on the right. Nothing is uploaded. The rows below were produced with new TextEncoder().encode(name) and toString(2).padStart(8, "0") — the same mapping the widget uses.

This is not the Number tab. “Alex” as a word is four bytes. The integer 0b1011 is eleven — unprefixed digits on that tab are decimal, so set Input base to Binary if you omit the prefix. Searches for “binary code generator” and “name in binary” almost always want the letter mapping. The binary alphabet A–Z table lists unpadded code points; the converter pads each ASCII letter to eight bits with a leading 0.

Worked names (UTF-8 8-bit groups)

TextUTF-8 binary (8-bit groups)
Hi01001000 01101001
Alex01000001 01101100 01100101 01111000
Maya01001101 01100001 01111001 01100001
FlashKit01000110 01101100 01100001 01110011 01101000 01001011 01101001 01110100

“Hi” is H = 72 = 01001000 and i = 105 = 01101001. “Alex” is A 65, l 108, e 101, x 120. “Maya” is M 77, a 97, y 121, a 97 — the same letter appears twice, so the same byte repeats. “FlashKit” is eight bytes; F is 70 (01000110) and the inner K is 75 (01001011), because the K is uppercase.

Type a name on the Text tab

Text ↔ Binary prints 8-bit UTF-8 groups with spaces. The Number tab is for 0b1011 = 11, not for letters.

Open the text to binary converter

How to encode a name by hand

Look up each character’s ASCII / Unicode code point, write that integer in base 2, and pad on the left to eight bits. A is 65 = 64 + 1 = 1000001, padded 01000001. Space is 32 = 00100000. Digits are characters too: the character “5” is 53 = 00110101, which is not the number five (101).

Decode by grouping bits into eights, converting each group to decimal, then to a character. 01001000 01101001 is 72 105, “Hi”. If a paste has seven bits, you are holding a number, not a letter — prefix it with 0b or set Input base to Binary on the Number tab. That walkthrough is binary numbers to decimal.

Related bases for the same letters: the text to hex converter prints 48 69 for “Hi”, and the text to ASCII converter prints 72 105. Hand reading with place values is how to read binary code.

Same letters as hex tokens

H is 48, i is 69. Code points, not UTF-8 multi-byte dumps.

Open the hex converter

What this binary code generator is not

It does not invent a cipher. Anyone with the same UTF-8 table can decode the bits. It does not write Morse, Braille, or a 5-bit teleprinter code. It does not pad to 16 bits, does not add a 0b prefix, and does not open a .bin firmware file. A worksheet that wants “HELP” without leading zeros is asking for the alphabet-table notation (1001000 1000101 1001100 1010000), not the converter’s 8-bit groups. Both are valid; they differ by a leading 0 on each ASCII letter.

Non-ASCII letters use more than one UTF-8 byte. “é” is 11000011 10101001 (c3 a9). The converter Text tab will show two groups; the alphabet table would instead print the single code point 11101001. Keep those two questions separate when the assignment mixes “write your name” with “UTF-8 bytes”.

Related Tools