Text Encoding
Convert text to binary and hexadecimal, or decode binary and hex values back to text. Switch between ASCII, Extended ASCII and Unicode encoding standards.
Bits per character
7 bits per character
Range
0 – 127 (128 characters)
Note
ASCII was designed in the 1960s for English text on early computers.
1Text → Encoding
5 characters
| Char | Decimal | Hex | Binary (7-bit) |
|---|---|---|---|
| H | 72 | 48 | 0100 1000 |
| e | 101 | 65 | 0110 0101 |
| l | 108 | 6C | 0110 1100 |
| l | 108 | 6C | 0110 1100 |
| o | 111 | 6F | 0110 1111 |
2Encoding → Text
Separate each character's bits with a space, or enter a continuous stream and the correct chunk size will be used automatically.
3Quick Reference: Printable ASCII (32–126)
| Char | Dec | Hex | 7-bit Binary | Char | Dec | Hex | 7-bit Binary |
|---|---|---|---|---|---|---|---|
| SP | 32 | 20 | 0100000 | 8 | 56 | 38 | 0111000 |
| ! | 33 | 21 | 0100001 | 9 | 57 | 39 | 0111001 |
| " | 34 | 22 | 0100010 | : | 58 | 3A | 0111010 |
| # | 35 | 23 | 0100011 | ; | 59 | 3B | 0111011 |
| $ | 36 | 24 | 0100100 | < | 60 | 3C | 0111100 |
| % | 37 | 25 | 0100101 | = | 61 | 3D | 0111101 |
| & | 38 | 26 | 0100110 | > | 62 | 3E | 0111110 |
| ' | 39 | 27 | 0100111 | ? | 63 | 3F | 0111111 |
| ( | 40 | 28 | 0101000 | @ | 64 | 40 | 1000000 |
| ) | 41 | 29 | 0101001 | A | 65 | 41 | 1000001 |
| * | 42 | 2A | 0101010 | B | 66 | 42 | 1000010 |
| + | 43 | 2B | 0101011 | C | 67 | 43 | 1000011 |
| , | 44 | 2C | 0101100 | D | 68 | 44 | 1000100 |
| - | 45 | 2D | 0101101 | E | 69 | 45 | 1000101 |
| . | 46 | 2E | 0101110 | F | 70 | 46 | 1000110 |
| / | 47 | 2F | 0101111 | G | 71 | 47 | 1000111 |
| 0 | 48 | 30 | 0110000 | H | 72 | 48 | 1001000 |
| 1 | 49 | 31 | 0110001 | I | 73 | 49 | 1001001 |
| 2 | 50 | 32 | 0110010 | J | 74 | 4A | 1001010 |
| 3 | 51 | 33 | 0110011 | K | 75 | 4B | 1001011 |
| 4 | 52 | 34 | 0110100 | L | 76 | 4C | 1001100 |
| 5 | 53 | 35 | 0110101 | M | 77 | 4D | 1001101 |
| 6 | 54 | 36 | 0110110 | N | 78 | 4E | 1001110 |
| 7 | 55 | 37 | 0110111 | O | 79 | 4F | 1001111 |