Text to Binary Converter
Type or paste text to see each character as 8-bit bytes: ASCII for plain letters, UTF-8 for everything else.
Stays in your browser; it isn’t added to the page address.
Outputa space between bytes
In binary
01001000 01100101 01101100 01101100 01101111
5 characters, 5 bytes in UTF-8.
How text becomes binary
A computer stores each character as a number, its code, and then stores that number in binary. For plain English the codes are ASCII: capital A is 65, lower-case a is 97, the digit 0 is 48 and a space is 32. Each one fits in a byte, eight bits.
Characters outside ASCII (é, €, 中, 😀) are encoded with UTF-8, which uses two, three or four bytes per character. The first byte says how many follow, and ASCII text is unchanged, which is why UTF-8 became the web’s default.
So “Hi” is H = 72 = 01001000 and i = 105 = 01101001. The converter shows each character, its code and its bytes in the working, and keeps the bytes separated by spaces so they are easy to read.
character → code point → UTF-8 bytes → 8 bits per byte
- ASCII defines 128 characters with 7-bit codes (0–127); in UTF-8 those same characters keep their single byte. Source: RFC 20, ASCII format for network interchange.
- UTF-8 uses one to four bytes per character and keeps ASCII unchanged. Source: RFC 3629, UTF-8.
Letters and digits in binary (ASCII)
Capital and small letters, digits and the space, each one byte.
| Character | Code | Binary |
|---|---|---|
| space | 32 | 00100000 |
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| C | 67 | 01000011 |
| D | 68 | 01000100 |
| E | 69 | 01000101 |
| F | 70 | 01000110 |
| G | 71 | 01000111 |
| H | 72 | 01001000 |
| I | 73 | 01001001 |
Show all 63 rowsShow fewer
| J | 74 | 01001010 |
| K | 75 | 01001011 |
| L | 76 | 01001100 |
| M | 77 | 01001101 |
| N | 78 | 01001110 |
| O | 79 | 01001111 |
| P | 80 | 01010000 |
| Q | 81 | 01010001 |
| R | 82 | 01010010 |
| S | 83 | 01010011 |
| T | 84 | 01010100 |
| U | 85 | 01010101 |
| V | 86 | 01010110 |
| W | 87 | 01010111 |
| X | 88 | 01011000 |
| Y | 89 | 01011001 |
| Z | 90 | 01011010 |
| a | 97 | 01100001 |
| b | 98 | 01100010 |
| c | 99 | 01100011 |
| d | 100 | 01100100 |
| e | 101 | 01100101 |
| f | 102 | 01100110 |
| g | 103 | 01100111 |
| h | 104 | 01101000 |
| i | 105 | 01101001 |
| j | 106 | 01101010 |
| k | 107 | 01101011 |
| l | 108 | 01101100 |
| m | 109 | 01101101 |
| n | 110 | 01101110 |
| o | 111 | 01101111 |
| p | 112 | 01110000 |
| q | 113 | 01110001 |
| r | 114 | 01110010 |
| s | 115 | 01110011 |
| t | 116 | 01110100 |
| u | 117 | 01110101 |
| v | 118 | 01110110 |
| w | 119 | 01110111 |
| x | 120 | 01111000 |
| y | 121 | 01111001 |
| z | 122 | 01111010 |
| 0 | 48 | 00110000 |
| 1 | 49 | 00110001 |
| 2 | 50 | 00110010 |
| 3 | 51 | 00110011 |
| 4 | 52 | 00110100 |
| 5 | 53 | 00110101 |
| 6 | 54 | 00110110 |
| 7 | 55 | 00110111 |
| 8 | 56 | 00111000 |
| 9 | 57 | 00111001 |
Frequently Asked Questions
What is “hello” in binary?
hello is 01101000 01100101 01101100 01101100 01101111: h = 104, e = 101, l = 108 (twice) and o = 111.
Why does an emoji turn into 32 bits?
Emoji have code points above 65,535, which UTF-8 stores in four bytes. 😀 (U+1F600) is F0 9F 98 80 in hex, 32 bits in all.
Is text to binary the same as ASCII to binary?
For English letters, digits and common punctuation, yes: UTF-8 gives exactly the ASCII byte. They differ only for characters ASCII does not have.
Is what I type sent anywhere?
No. The conversion runs in your browser, and text is not put in the page address, so it is not shared unless you copy it.