Hex to Binary Table
Every hex value 0-255 paired with its 8-bit binary form — a focused two-column table for reading hex-to-binary mappings quickly.
How to Read This Table
Each row pairs one byte value (0-255) with its 8-bit binary form. The binary column is always padded to a full 8 digits, so every row lines up the same way regardless of the value's size.
Where This Table Actually Comes Up
Reading Bit Flags From a Hex Register Value
Scanning the binary form of a hex register value directly, without converting one value at a time, to see which individual bits are set.
0xA5 -> 10100101
Checking a Byte's Bit Pattern While Reading a Hex Dump
Cross-referencing a byte value from a hex dump against its binary form when the bit-level pattern matters more than the decimal value.
confirm 0x80 = 10000000 (only the sign bit)
Teaching or Learning Hex-to-Binary Conversion
Using the table as a quick-reference while practicing hex-to-binary conversion by hand, to check your own work.
compute by hand, then verify against the table
Full Table: 0-255
| Hex | Binary |
|---|---|
| 0x00 | 00000000 |
| 0x01 | 00000001 |
| 0x02 | 00000010 |
| 0x03 | 00000011 |
| 0x04 | 00000100 |
| 0x05 | 00000101 |
| 0x06 | 00000110 |
| 0x07 | 00000111 |
| 0x08 | 00001000 |
| 0x09 | 00001001 |
| 0x0A | 00001010 |
| 0x0B | 00001011 |
| 0x0C | 00001100 |
| 0x0D | 00001101 |
| 0x0E | 00001110 |
| 0x0F | 00001111 |
| 0x10 | 00010000 |
| 0x11 | 00010001 |
| 0x12 | 00010010 |
| 0x13 | 00010011 |
| 0x14 | 00010100 |
| 0x15 | 00010101 |
| 0x16 | 00010110 |
| 0x17 | 00010111 |
| 0x18 | 00011000 |
| 0x19 | 00011001 |
| 0x1A | 00011010 |
| 0x1B | 00011011 |
| 0x1C | 00011100 |
| 0x1D | 00011101 |
| 0x1E | 00011110 |
| 0x1F | 00011111 |
| 0x20 | 00100000 |
| 0x21 | 00100001 |
| 0x22 | 00100010 |
| 0x23 | 00100011 |
| 0x24 | 00100100 |
| 0x25 | 00100101 |
| 0x26 | 00100110 |
| 0x27 | 00100111 |
| 0x28 | 00101000 |
| 0x29 | 00101001 |
| 0x2A | 00101010 |
| 0x2B | 00101011 |
| 0x2C | 00101100 |
| 0x2D | 00101101 |
| 0x2E | 00101110 |
| 0x2F | 00101111 |
| 0x30 | 00110000 |
| 0x31 | 00110001 |
| 0x32 | 00110010 |
| 0x33 | 00110011 |
| 0x34 | 00110100 |
| 0x35 | 00110101 |
| 0x36 | 00110110 |
| 0x37 | 00110111 |
| 0x38 | 00111000 |
| 0x39 | 00111001 |
| 0x3A | 00111010 |
| 0x3B | 00111011 |
| 0x3C | 00111100 |
| 0x3D | 00111101 |
| 0x3E | 00111110 |
| 0x3F | 00111111 |
| 0x40 | 01000000 |
| 0x41 | 01000001 |
| 0x42 | 01000010 |
| 0x43 | 01000011 |
| 0x44 | 01000100 |
| 0x45 | 01000101 |
| 0x46 | 01000110 |
| 0x47 | 01000111 |
| 0x48 | 01001000 |
| 0x49 | 01001001 |
| 0x4A | 01001010 |
| 0x4B | 01001011 |
| 0x4C | 01001100 |
| 0x4D | 01001101 |
| 0x4E | 01001110 |
| 0x4F | 01001111 |
| 0x50 | 01010000 |
| 0x51 | 01010001 |
| 0x52 | 01010010 |
| 0x53 | 01010011 |
| 0x54 | 01010100 |
| 0x55 | 01010101 |
| 0x56 | 01010110 |
| 0x57 | 01010111 |
| 0x58 | 01011000 |
| 0x59 | 01011001 |
| 0x5A | 01011010 |
| 0x5B | 01011011 |
| 0x5C | 01011100 |
| 0x5D | 01011101 |
| 0x5E | 01011110 |
| 0x5F | 01011111 |
| 0x60 | 01100000 |
| 0x61 | 01100001 |
| 0x62 | 01100010 |
| 0x63 | 01100011 |
| 0x64 | 01100100 |
| 0x65 | 01100101 |
| 0x66 | 01100110 |
| 0x67 | 01100111 |
| 0x68 | 01101000 |
| 0x69 | 01101001 |
| 0x6A | 01101010 |
| 0x6B | 01101011 |
| 0x6C | 01101100 |
| 0x6D | 01101101 |
| 0x6E | 01101110 |
| 0x6F | 01101111 |
| 0x70 | 01110000 |
| 0x71 | 01110001 |
| 0x72 | 01110010 |
| 0x73 | 01110011 |
| 0x74 | 01110100 |
| 0x75 | 01110101 |
| 0x76 | 01110110 |
| 0x77 | 01110111 |
| 0x78 | 01111000 |
| 0x79 | 01111001 |
| 0x7A | 01111010 |
| 0x7B | 01111011 |
| 0x7C | 01111100 |
| 0x7D | 01111101 |
| 0x7E | 01111110 |
| 0x7F | 01111111 |
| 0x80 | 10000000 |
| 0x81 | 10000001 |
| 0x82 | 10000010 |
| 0x83 | 10000011 |
| 0x84 | 10000100 |
| 0x85 | 10000101 |
| 0x86 | 10000110 |
| 0x87 | 10000111 |
| 0x88 | 10001000 |
| 0x89 | 10001001 |
| 0x8A | 10001010 |
| 0x8B | 10001011 |
| 0x8C | 10001100 |
| 0x8D | 10001101 |
| 0x8E | 10001110 |
| 0x8F | 10001111 |
| 0x90 | 10010000 |
| 0x91 | 10010001 |
| 0x92 | 10010010 |
| 0x93 | 10010011 |
| 0x94 | 10010100 |
| 0x95 | 10010101 |
| 0x96 | 10010110 |
| 0x97 | 10010111 |
| 0x98 | 10011000 |
| 0x99 | 10011001 |
| 0x9A | 10011010 |
| 0x9B | 10011011 |
| 0x9C | 10011100 |
| 0x9D | 10011101 |
| 0x9E | 10011110 |
| 0x9F | 10011111 |
| 0xA0 | 10100000 |
| 0xA1 | 10100001 |
| 0xA2 | 10100010 |
| 0xA3 | 10100011 |
| 0xA4 | 10100100 |
| 0xA5 | 10100101 |
| 0xA6 | 10100110 |
| 0xA7 | 10100111 |
| 0xA8 | 10101000 |
| 0xA9 | 10101001 |
| 0xAA | 10101010 |
| 0xAB | 10101011 |
| 0xAC | 10101100 |
| 0xAD | 10101101 |
| 0xAE | 10101110 |
| 0xAF | 10101111 |
| 0xB0 | 10110000 |
| 0xB1 | 10110001 |
| 0xB2 | 10110010 |
| 0xB3 | 10110011 |
| 0xB4 | 10110100 |
| 0xB5 | 10110101 |
| 0xB6 | 10110110 |
| 0xB7 | 10110111 |
| 0xB8 | 10111000 |
| 0xB9 | 10111001 |
| 0xBA | 10111010 |
| 0xBB | 10111011 |
| 0xBC | 10111100 |
| 0xBD | 10111101 |
| 0xBE | 10111110 |
| 0xBF | 10111111 |
| 0xC0 | 11000000 |
| 0xC1 | 11000001 |
| 0xC2 | 11000010 |
| 0xC3 | 11000011 |
| 0xC4 | 11000100 |
| 0xC5 | 11000101 |
| 0xC6 | 11000110 |
| 0xC7 | 11000111 |
| 0xC8 | 11001000 |
| 0xC9 | 11001001 |
| 0xCA | 11001010 |
| 0xCB | 11001011 |
| 0xCC | 11001100 |
| 0xCD | 11001101 |
| 0xCE | 11001110 |
| 0xCF | 11001111 |
| 0xD0 | 11010000 |
| 0xD1 | 11010001 |
| 0xD2 | 11010010 |
| 0xD3 | 11010011 |
| 0xD4 | 11010100 |
| 0xD5 | 11010101 |
| 0xD6 | 11010110 |
| 0xD7 | 11010111 |
| 0xD8 | 11011000 |
| 0xD9 | 11011001 |
| 0xDA | 11011010 |
| 0xDB | 11011011 |
| 0xDC | 11011100 |
| 0xDD | 11011101 |
| 0xDE | 11011110 |
| 0xDF | 11011111 |
| 0xE0 | 11100000 |
| 0xE1 | 11100001 |
| 0xE2 | 11100010 |
| 0xE3 | 11100011 |
| 0xE4 | 11100100 |
| 0xE5 | 11100101 |
| 0xE6 | 11100110 |
| 0xE7 | 11100111 |
| 0xE8 | 11101000 |
| 0xE9 | 11101001 |
| 0xEA | 11101010 |
| 0xEB | 11101011 |
| 0xEC | 11101100 |
| 0xED | 11101101 |
| 0xEE | 11101110 |
| 0xEF | 11101111 |
| 0xF0 | 11110000 |
| 0xF1 | 11110001 |
| 0xF2 | 11110010 |
| 0xF3 | 11110011 |
| 0xF4 | 11110100 |
| 0xF5 | 11110101 |
| 0xF6 | 11110110 |
| 0xF7 | 11110111 |
| 0xF8 | 11111000 |
| 0xF9 | 11111001 |
| 0xFA | 11111010 |
| 0xFB | 11111011 |
| 0xFC | 11111100 |
| 0xFD | 11111101 |
| 0xFE | 11111110 |
| 0xFF | 11111111 |
Further reading: Binary number — Wikipedia
Limitations
- Covers single-byte values (0-255) only — use the Hex to Binary Converter directly for larger values.
Frequently Asked Questions
Why just hex and binary, not decimal too?
Keeping the table to two columns makes it faster to scan when binary is specifically what you're after — see the Hexadecimal Table if you want hex, decimal, and binary together.
Why is the binary column always 8 digits?
It's padded with leading zeros to a full byte for every row, so a value like 0x01 shows as 00000001, keeping every row the same width for easy scanning.
How do I convert a hex digit to binary without the table?
Each hex digit maps to exactly 4 binary bits — split a longer hex value into individual digits, convert each to its 4-bit binary form, and concatenate them in order.
Does this cover values beyond one byte?
No — this table covers the single-byte range (0-255) only. Use the Hex to Binary Converter directly for larger values.