Text to Binary Converter

Convert any text to its binary representation. Each character is encoded as UTF-8 bytes, and every byte is shown as 8 bits, so ASCII characters become familiar 8-bit codes and Unicode characters become two or more bytes.

Worked example

The input Hi converts to 01001000 01101001. Try editing the box above to convert your own text.

ASCII / character reference table

Each character has a numeric code that can be written in decimal, binary or hexadecimal:

CharacterDecimalBinary (8-bit)Hex
A650100000141
a970110000161
Z90010110105A
0480011000030
9570011100139
(space)320010000020
!330010000121
?63001111113F

Frequently asked questions

How do I convert text to binary?
Paste your input into the box above and the result appears instantly. For example, "Hi" becomes "01001000 01101001". Everything runs in your browser β€” nothing is uploaded.
Is my text uploaded to a server?
No. The conversion runs entirely in your browser with JavaScript, so your text never leaves your device.
Does text-to-binary support emoji and non-English text?
Yes. Text is encoded as UTF-8 first, so accented letters, non-Latin scripts and emoji all convert correctly β€” they simply use more than one byte (more than 8 bits) each.

Related text & encoding conversions

See all string conversions β†’