Random Binary Generator: One Byte With Its Decimal and Hex
One press draws a random byte, writes it as eight bits and shows the same number in decimal and hex with the places that add up to it.
Random Binary Generator: One Byte With Its Decimal and Hex: how it works
This random binary generator draws one byte at a time and writes it as eight bits in two groups of four, such as 1011 0010. All 256 bytes are equally likely. Under the result you get the same number in decimal and in hex, then the places that add up to it. Tap 16 bits or 24 bits for a longer number. Copy gives the bits with no space.
How to read a byte
Say the result is 1011 0010. Each place in a byte is worth double the one to its right: 128, 64, 32, 16, 8, 4, 2, 1 . Add up the places that hold a 1: 128 + 32 + 16 + 2 = 178. For hex, take each group of four on its own. 1011 is 11, which hex writes as B, and 0010 is 2, so the byte is B2.
Practice: convert first, then check
Cover the lines under the result, convert the byte on paper, then look. The table below the tool lists all 256 bytes in counting order, each with its sum, so you can also work backwards: pick a decimal number, write it in binary, and find its row. The 95 rows from 32 to 126 name their ASCII character as well.
Tips
Exactly four 1s is the most common count in a random byte: 70 of the 256 bytes have it. One byte is all 0s and one is all 1s.
Capital A is 0100 0001 and small a is 0110 0001. Only the 32 place differs, and the same goes for every letter in ASCII.
In hex, 1001 is 9, 1010 is A and 1111 is F.
Questions and answers
Are the bits really random?
The page draws one whole number from 0 to 255, each with the same chance, and writes it in binary. That equals a fair coin flip for each of the eight bits, so 1111 0000 is as likely as any other byte. The bits suit lessons, puzzles and test data, not passwords or keys.
How do I get a random letter in binary?
Tap ASCII text, 32 to 126. Every result is then one of the 95 printable ASCII codes, and the line under it names the character: 0100 0001 is capital letter A and 0010 0001 is the exclamation mark. Set How many to 5 for a five-character string.
Can I get a binary number longer than 8 bits?
Yes. Tap 16 bits, where the left place is worth 32,768 and the largest value is 65,535, or 24 bits, which reach 16,777,215. For 32 bits, tap 8 bits, set How many to 4 and read the four bytes in order.
All 256 bytes
0 to 15: one hex digit
16 to 127: top bit off
128 to 255: top bit on
0 to 15: one hex digit 16
00000000 No bit is on: 0 in decimal, 00 in hex.
00000001 Only the 1 place is on: 1 in decimal, 01 in hex.
00000010 Only the 2 place is on: 2 in decimal, 02 in hex.
00000011 2 + 1 = 3 in decimal, 03 in hex.
00000100 Only the 4 place is on: 4 in decimal, 04 in hex.
00000101 4 + 1 = 5 in decimal, 05 in hex.
00000110 4 + 2 = 6 in decimal, 06 in hex.
00000111 4 + 2 + 1 = 7 in decimal, 07 in hex.
00001000 Only the 8 place is on: 8 in decimal, 08 in hex.
00001001 8 + 1 = 9 in decimal, 09 in hex.
00001010 8 + 2 = 10 in decimal, 0A in hex.
00001011 8 + 2 + 1 = 11 in decimal, 0B in hex.
00001100 8 + 4 = 12 in decimal, 0C in hex.
00001101 8 + 4 + 1 = 13 in decimal, 0D in hex.
00001110 8 + 4 + 2 = 14 in decimal, 0E in hex.
00001111 8 + 4 + 2 + 1 = 15 in decimal, 0F in hex.
16 to 127: top bit off 112
00010000 Only the 16 place is on: 16 in decimal, 10 in hex.
00010001 16 + 1 = 17 in decimal, 11 in hex.
00010010 16 + 2 = 18 in decimal, 12 in hex.
00010011 16 + 2 + 1 = 19 in decimal, 13 in hex.
00010100 16 + 4 = 20 in decimal, 14 in hex.
00010101 16 + 4 + 1 = 21 in decimal, 15 in hex.
00010110 16 + 4 + 2 = 22 in decimal, 16 in hex.
00010111 16 + 4 + 2 + 1 = 23 in decimal, 17 in hex.
00011000 16 + 8 = 24 in decimal, 18 in hex.
00011001 16 + 8 + 1 = 25 in decimal, 19 in hex.
00011010 16 + 8 + 2 = 26 in decimal, 1A in hex.
00011011 16 + 8 + 2 + 1 = 27 in decimal, 1B in hex.
00011100 16 + 8 + 4 = 28 in decimal, 1C in hex.
00011101 16 + 8 + 4 + 1 = 29 in decimal, 1D in hex.
00011110 16 + 8 + 4 + 2 = 30 in decimal, 1E in hex.
00011111 16 + 8 + 4 + 2 + 1 = 31 in decimal, 1F in hex.
00100000 Only the 32 place is on: 32 in decimal, 20 in hex. ASCII: the space character.
00100001 32 + 1 = 33 in decimal, 21 in hex. ASCII: ! (exclamation mark).
00100010 32 + 2 = 34 in decimal, 22 in hex. ASCII: " (double quote).
00100011 32 + 2 + 1 = 35 in decimal, 23 in hex. ASCII: # (number sign).
00100100 32 + 4 = 36 in decimal, 24 in hex. ASCII: $ (dollar sign).
00100101 32 + 4 + 1 = 37 in decimal, 25 in hex. ASCII: % (percent sign).
00100110 32 + 4 + 2 = 38 in decimal, 26 in hex. ASCII: & (ampersand).
00100111 32 + 4 + 2 + 1 = 39 in decimal, 27 in hex. ASCII: ' (apostrophe).
00101000 32 + 8 = 40 in decimal, 28 in hex. ASCII: ( (left parenthesis).
00101001 32 + 8 + 1 = 41 in decimal, 29 in hex. ASCII: ) (right parenthesis).
00101010 32 + 8 + 2 = 42 in decimal, 2A in hex. ASCII: * (asterisk).
00101011 32 + 8 + 2 + 1 = 43 in decimal, 2B in hex. ASCII: + (plus sign).
00101100 32 + 8 + 4 = 44 in decimal, 2C in hex. ASCII: , (comma).
00101101 32 + 8 + 4 + 1 = 45 in decimal, 2D in hex. ASCII: - (hyphen).
00101110 32 + 8 + 4 + 2 = 46 in decimal, 2E in hex. ASCII: . (full stop).
00101111 32 + 8 + 4 + 2 + 1 = 47 in decimal, 2F in hex. ASCII: / (slash).
00110000 32 + 16 = 48 in decimal, 30 in hex. ASCII: the digit 0.
00110001 32 + 16 + 1 = 49 in decimal, 31 in hex. ASCII: the digit 1.
00110010 32 + 16 + 2 = 50 in decimal, 32 in hex. ASCII: the digit 2.
00110011 32 + 16 + 2 + 1 = 51 in decimal, 33 in hex. ASCII: the digit 3.
00110100 32 + 16 + 4 = 52 in decimal, 34 in hex. ASCII: the digit 4.
00110101 32 + 16 + 4 + 1 = 53 in decimal, 35 in hex. ASCII: the digit 5.
00110110 32 + 16 + 4 + 2 = 54 in decimal, 36 in hex. ASCII: the digit 6.
00110111 32 + 16 + 4 + 2 + 1 = 55 in decimal, 37 in hex. ASCII: the digit 7.
00111000 32 + 16 + 8 = 56 in decimal, 38 in hex. ASCII: the digit 8.
00111001 32 + 16 + 8 + 1 = 57 in decimal, 39 in hex. ASCII: the digit 9.
00111010 32 + 16 + 8 + 2 = 58 in decimal, 3A in hex. ASCII: : (colon).
00111011 32 + 16 + 8 + 2 + 1 = 59 in decimal, 3B in hex. ASCII: ; (semicolon).
00111100 32 + 16 + 8 + 4 = 60 in decimal, 3C in hex. ASCII: < (less-than sign).
00111101 32 + 16 + 8 + 4 + 1 = 61 in decimal, 3D in hex. ASCII: = (equals sign).
00111110 32 + 16 + 8 + 4 + 2 = 62 in decimal, 3E in hex. ASCII: > (greater-than sign).
00111111 32 + 16 + 8 + 4 + 2 + 1 = 63 in decimal, 3F in hex. ASCII: ? (question mark).
01000000 Only the 64 place is on: 64 in decimal, 40 in hex. ASCII: @ (at sign).
01000001 64 + 1 = 65 in decimal, 41 in hex. ASCII: capital letter A.
01000010 64 + 2 = 66 in decimal, 42 in hex. ASCII: capital letter B.
01000011 64 + 2 + 1 = 67 in decimal, 43 in hex. ASCII: capital letter C.
01000100 64 + 4 = 68 in decimal, 44 in hex. ASCII: capital letter D.
01000101 64 + 4 + 1 = 69 in decimal, 45 in hex. ASCII: capital letter E.
01000110 64 + 4 + 2 = 70 in decimal, 46 in hex. ASCII: capital letter F.
01000111 64 + 4 + 2 + 1 = 71 in decimal, 47 in hex. ASCII: capital letter G.
01001000 64 + 8 = 72 in decimal, 48 in hex. ASCII: capital letter H.
01001001 64 + 8 + 1 = 73 in decimal, 49 in hex. ASCII: capital letter I.
01001010 64 + 8 + 2 = 74 in decimal, 4A in hex. ASCII: capital letter J.
01001011 64 + 8 + 2 + 1 = 75 in decimal, 4B in hex. ASCII: capital letter K.
01001100 64 + 8 + 4 = 76 in decimal, 4C in hex. ASCII: capital letter L.
01001101 64 + 8 + 4 + 1 = 77 in decimal, 4D in hex. ASCII: capital letter M.
01001110 64 + 8 + 4 + 2 = 78 in decimal, 4E in hex. ASCII: capital letter N.
01001111 64 + 8 + 4 + 2 + 1 = 79 in decimal, 4F in hex. ASCII: capital letter O.
01010000 64 + 16 = 80 in decimal, 50 in hex. ASCII: capital letter P.
01010001 64 + 16 + 1 = 81 in decimal, 51 in hex. ASCII: capital letter Q.
01010010 64 + 16 + 2 = 82 in decimal, 52 in hex. ASCII: capital letter R.
01010011 64 + 16 + 2 + 1 = 83 in decimal, 53 in hex. ASCII: capital letter S.
01010100 64 + 16 + 4 = 84 in decimal, 54 in hex. ASCII: capital letter T.
01010101 64 + 16 + 4 + 1 = 85 in decimal, 55 in hex. ASCII: capital letter U.
01010110 64 + 16 + 4 + 2 = 86 in decimal, 56 in hex. ASCII: capital letter V.
01010111 64 + 16 + 4 + 2 + 1 = 87 in decimal, 57 in hex. ASCII: capital letter W.
01011000 64 + 16 + 8 = 88 in decimal, 58 in hex. ASCII: capital letter X.
01011001 64 + 16 + 8 + 1 = 89 in decimal, 59 in hex. ASCII: capital letter Y.
01011010 64 + 16 + 8 + 2 = 90 in decimal, 5A in hex. ASCII: capital letter Z.
01011011 64 + 16 + 8 + 2 + 1 = 91 in decimal, 5B in hex. ASCII: [ (left square bracket).
01011100 64 + 16 + 8 + 4 = 92 in decimal, 5C in hex. ASCII: \ (backslash).
01011101 64 + 16 + 8 + 4 + 1 = 93 in decimal, 5D in hex. ASCII: ] (right square bracket).
01011110 64 + 16 + 8 + 4 + 2 = 94 in decimal, 5E in hex. ASCII: ^ (caret).
01011111 64 + 16 + 8 + 4 + 2 + 1 = 95 in decimal, 5F in hex. ASCII: _ (underscore).
01100000 64 + 32 = 96 in decimal, 60 in hex. ASCII: ` (backtick).
01100001 64 + 32 + 1 = 97 in decimal, 61 in hex. ASCII: small letter a.
01100010 64 + 32 + 2 = 98 in decimal, 62 in hex. ASCII: small letter b.
01100011 64 + 32 + 2 + 1 = 99 in decimal, 63 in hex. ASCII: small letter c.
01100100 64 + 32 + 4 = 100 in decimal, 64 in hex. ASCII: small letter d.
01100101 64 + 32 + 4 + 1 = 101 in decimal, 65 in hex. ASCII: small letter e.
01100110 64 + 32 + 4 + 2 = 102 in decimal, 66 in hex. ASCII: small letter f.
01100111 64 + 32 + 4 + 2 + 1 = 103 in decimal, 67 in hex. ASCII: small letter g.
01101000 64 + 32 + 8 = 104 in decimal, 68 in hex. ASCII: small letter h.
01101001 64 + 32 + 8 + 1 = 105 in decimal, 69 in hex. ASCII: small letter i.
01101010 64 + 32 + 8 + 2 = 106 in decimal, 6A in hex. ASCII: small letter j.
01101011 64 + 32 + 8 + 2 + 1 = 107 in decimal, 6B in hex. ASCII: small letter k.
01101100 64 + 32 + 8 + 4 = 108 in decimal, 6C in hex. ASCII: small letter l.
01101101 64 + 32 + 8 + 4 + 1 = 109 in decimal, 6D in hex. ASCII: small letter m.
01101110 64 + 32 + 8 + 4 + 2 = 110 in decimal, 6E in hex. ASCII: small letter n.
01101111 64 + 32 + 8 + 4 + 2 + 1 = 111 in decimal, 6F in hex. ASCII: small letter o.
01110000 64 + 32 + 16 = 112 in decimal, 70 in hex. ASCII: small letter p.
01110001 64 + 32 + 16 + 1 = 113 in decimal, 71 in hex. ASCII: small letter q.
01110010 64 + 32 + 16 + 2 = 114 in decimal, 72 in hex. ASCII: small letter r.
01110011 64 + 32 + 16 + 2 + 1 = 115 in decimal, 73 in hex. ASCII: small letter s.
01110100 64 + 32 + 16 + 4 = 116 in decimal, 74 in hex. ASCII: small letter t.
01110101 64 + 32 + 16 + 4 + 1 = 117 in decimal, 75 in hex. ASCII: small letter u.
01110110 64 + 32 + 16 + 4 + 2 = 118 in decimal, 76 in hex. ASCII: small letter v.
01110111 64 + 32 + 16 + 4 + 2 + 1 = 119 in decimal, 77 in hex. ASCII: small letter w.
01111000 64 + 32 + 16 + 8 = 120 in decimal, 78 in hex. ASCII: small letter x.
01111001 64 + 32 + 16 + 8 + 1 = 121 in decimal, 79 in hex. ASCII: small letter y.
01111010 64 + 32 + 16 + 8 + 2 = 122 in decimal, 7A in hex. ASCII: small letter z.
01111011 64 + 32 + 16 + 8 + 2 + 1 = 123 in decimal, 7B in hex. ASCII: { (left curly bracket).
01111100 64 + 32 + 16 + 8 + 4 = 124 in decimal, 7C in hex. ASCII: | (vertical bar).
01111101 64 + 32 + 16 + 8 + 4 + 1 = 125 in decimal, 7D in hex. ASCII: } (right curly bracket).
01111110 64 + 32 + 16 + 8 + 4 + 2 = 126 in decimal, 7E in hex. ASCII: ~ (tilde).
01111111 64 + 32 + 16 + 8 + 4 + 2 + 1 = 127 in decimal, 7F in hex.
128 to 255: top bit on 128
10000000 Only the 128 place is on: 128 in decimal, 80 in hex.
10000001 128 + 1 = 129 in decimal, 81 in hex.
10000010 128 + 2 = 130 in decimal, 82 in hex.
10000011 128 + 2 + 1 = 131 in decimal, 83 in hex.
10000100 128 + 4 = 132 in decimal, 84 in hex.
10000101 128 + 4 + 1 = 133 in decimal, 85 in hex.
10000110 128 + 4 + 2 = 134 in decimal, 86 in hex.
10000111 128 + 4 + 2 + 1 = 135 in decimal, 87 in hex.
10001000 128 + 8 = 136 in decimal, 88 in hex.
10001001 128 + 8 + 1 = 137 in decimal, 89 in hex.
10001010 128 + 8 + 2 = 138 in decimal, 8A in hex.
10001011 128 + 8 + 2 + 1 = 139 in decimal, 8B in hex.
10001100 128 + 8 + 4 = 140 in decimal, 8C in hex.
10001101 128 + 8 + 4 + 1 = 141 in decimal, 8D in hex.
10001110 128 + 8 + 4 + 2 = 142 in decimal, 8E in hex.
10001111 128 + 8 + 4 + 2 + 1 = 143 in decimal, 8F in hex.
10010000 128 + 16 = 144 in decimal, 90 in hex.
10010001 128 + 16 + 1 = 145 in decimal, 91 in hex.
10010010 128 + 16 + 2 = 146 in decimal, 92 in hex.
10010011 128 + 16 + 2 + 1 = 147 in decimal, 93 in hex.
10010100 128 + 16 + 4 = 148 in decimal, 94 in hex.
10010101 128 + 16 + 4 + 1 = 149 in decimal, 95 in hex.
10010110 128 + 16 + 4 + 2 = 150 in decimal, 96 in hex.
10010111 128 + 16 + 4 + 2 + 1 = 151 in decimal, 97 in hex.
10011000 128 + 16 + 8 = 152 in decimal, 98 in hex.
10011001 128 + 16 + 8 + 1 = 153 in decimal, 99 in hex.
10011010 128 + 16 + 8 + 2 = 154 in decimal, 9A in hex.
10011011 128 + 16 + 8 + 2 + 1 = 155 in decimal, 9B in hex.
10011100 128 + 16 + 8 + 4 = 156 in decimal, 9C in hex.
10011101 128 + 16 + 8 + 4 + 1 = 157 in decimal, 9D in hex.
10011110 128 + 16 + 8 + 4 + 2 = 158 in decimal, 9E in hex.
10011111 128 + 16 + 8 + 4 + 2 + 1 = 159 in decimal, 9F in hex.
10100000 128 + 32 = 160 in decimal, A0 in hex.
10100001 128 + 32 + 1 = 161 in decimal, A1 in hex.
10100010 128 + 32 + 2 = 162 in decimal, A2 in hex.
10100011 128 + 32 + 2 + 1 = 163 in decimal, A3 in hex.
10100100 128 + 32 + 4 = 164 in decimal, A4 in hex.
10100101 128 + 32 + 4 + 1 = 165 in decimal, A5 in hex.
10100110 128 + 32 + 4 + 2 = 166 in decimal, A6 in hex.
10100111 128 + 32 + 4 + 2 + 1 = 167 in decimal, A7 in hex.
10101000 128 + 32 + 8 = 168 in decimal, A8 in hex.
10101001 128 + 32 + 8 + 1 = 169 in decimal, A9 in hex.
10101010 128 + 32 + 8 + 2 = 170 in decimal, AA in hex.
10101011 128 + 32 + 8 + 2 + 1 = 171 in decimal, AB in hex.
10101100 128 + 32 + 8 + 4 = 172 in decimal, AC in hex.
10101101 128 + 32 + 8 + 4 + 1 = 173 in decimal, AD in hex.
10101110 128 + 32 + 8 + 4 + 2 = 174 in decimal, AE in hex.
10101111 128 + 32 + 8 + 4 + 2 + 1 = 175 in decimal, AF in hex.
10110000 128 + 32 + 16 = 176 in decimal, B0 in hex.
10110001 128 + 32 + 16 + 1 = 177 in decimal, B1 in hex.
10110010 128 + 32 + 16 + 2 = 178 in decimal, B2 in hex.
10110011 128 + 32 + 16 + 2 + 1 = 179 in decimal, B3 in hex.
10110100 128 + 32 + 16 + 4 = 180 in decimal, B4 in hex.
10110101 128 + 32 + 16 + 4 + 1 = 181 in decimal, B5 in hex.
10110110 128 + 32 + 16 + 4 + 2 = 182 in decimal, B6 in hex.
10110111 128 + 32 + 16 + 4 + 2 + 1 = 183 in decimal, B7 in hex.
10111000 128 + 32 + 16 + 8 = 184 in decimal, B8 in hex.
10111001 128 + 32 + 16 + 8 + 1 = 185 in decimal, B9 in hex.
10111010 128 + 32 + 16 + 8 + 2 = 186 in decimal, BA in hex.
10111011 128 + 32 + 16 + 8 + 2 + 1 = 187 in decimal, BB in hex.
10111100 128 + 32 + 16 + 8 + 4 = 188 in decimal, BC in hex.
10111101 128 + 32 + 16 + 8 + 4 + 1 = 189 in decimal, BD in hex.
10111110 128 + 32 + 16 + 8 + 4 + 2 = 190 in decimal, BE in hex.
10111111 128 + 32 + 16 + 8 + 4 + 2 + 1 = 191 in decimal, BF in hex.
11000000 128 + 64 = 192 in decimal, C0 in hex.
11000001 128 + 64 + 1 = 193 in decimal, C1 in hex.
11000010 128 + 64 + 2 = 194 in decimal, C2 in hex.
11000011 128 + 64 + 2 + 1 = 195 in decimal, C3 in hex.
11000100 128 + 64 + 4 = 196 in decimal, C4 in hex.
11000101 128 + 64 + 4 + 1 = 197 in decimal, C5 in hex.
11000110 128 + 64 + 4 + 2 = 198 in decimal, C6 in hex.
11000111 128 + 64 + 4 + 2 + 1 = 199 in decimal, C7 in hex.
11001000 128 + 64 + 8 = 200 in decimal, C8 in hex.
11001001 128 + 64 + 8 + 1 = 201 in decimal, C9 in hex.
11001010 128 + 64 + 8 + 2 = 202 in decimal, CA in hex.
11001011 128 + 64 + 8 + 2 + 1 = 203 in decimal, CB in hex.
11001100 128 + 64 + 8 + 4 = 204 in decimal, CC in hex.
11001101 128 + 64 + 8 + 4 + 1 = 205 in decimal, CD in hex.
11001110 128 + 64 + 8 + 4 + 2 = 206 in decimal, CE in hex.
11001111 128 + 64 + 8 + 4 + 2 + 1 = 207 in decimal, CF in hex.
11010000 128 + 64 + 16 = 208 in decimal, D0 in hex.
11010001 128 + 64 + 16 + 1 = 209 in decimal, D1 in hex.
11010010 128 + 64 + 16 + 2 = 210 in decimal, D2 in hex.
11010011 128 + 64 + 16 + 2 + 1 = 211 in decimal, D3 in hex.
11010100 128 + 64 + 16 + 4 = 212 in decimal, D4 in hex.
11010101 128 + 64 + 16 + 4 + 1 = 213 in decimal, D5 in hex.
11010110 128 + 64 + 16 + 4 + 2 = 214 in decimal, D6 in hex.
11010111 128 + 64 + 16 + 4 + 2 + 1 = 215 in decimal, D7 in hex.
11011000 128 + 64 + 16 + 8 = 216 in decimal, D8 in hex.
11011001 128 + 64 + 16 + 8 + 1 = 217 in decimal, D9 in hex.
11011010 128 + 64 + 16 + 8 + 2 = 218 in decimal, DA in hex.
11011011 128 + 64 + 16 + 8 + 2 + 1 = 219 in decimal, DB in hex.
11011100 128 + 64 + 16 + 8 + 4 = 220 in decimal, DC in hex.
11011101 128 + 64 + 16 + 8 + 4 + 1 = 221 in decimal, DD in hex.
11011110 128 + 64 + 16 + 8 + 4 + 2 = 222 in decimal, DE in hex.
11011111 128 + 64 + 16 + 8 + 4 + 2 + 1 = 223 in decimal, DF in hex.
11100000 128 + 64 + 32 = 224 in decimal, E0 in hex.
11100001 128 + 64 + 32 + 1 = 225 in decimal, E1 in hex.
11100010 128 + 64 + 32 + 2 = 226 in decimal, E2 in hex.
11100011 128 + 64 + 32 + 2 + 1 = 227 in decimal, E3 in hex.
11100100 128 + 64 + 32 + 4 = 228 in decimal, E4 in hex.
11100101 128 + 64 + 32 + 4 + 1 = 229 in decimal, E5 in hex.
11100110 128 + 64 + 32 + 4 + 2 = 230 in decimal, E6 in hex.
11100111 128 + 64 + 32 + 4 + 2 + 1 = 231 in decimal, E7 in hex.
11101000 128 + 64 + 32 + 8 = 232 in decimal, E8 in hex.
11101001 128 + 64 + 32 + 8 + 1 = 233 in decimal, E9 in hex.
11101010 128 + 64 + 32 + 8 + 2 = 234 in decimal, EA in hex.
11101011 128 + 64 + 32 + 8 + 2 + 1 = 235 in decimal, EB in hex.
11101100 128 + 64 + 32 + 8 + 4 = 236 in decimal, EC in hex.
11101101 128 + 64 + 32 + 8 + 4 + 1 = 237 in decimal, ED in hex.
11101110 128 + 64 + 32 + 8 + 4 + 2 = 238 in decimal, EE in hex.
11101111 128 + 64 + 32 + 8 + 4 + 2 + 1 = 239 in decimal, EF in hex.
11110000 128 + 64 + 32 + 16 = 240 in decimal, F0 in hex.
11110001 128 + 64 + 32 + 16 + 1 = 241 in decimal, F1 in hex.
11110010 128 + 64 + 32 + 16 + 2 = 242 in decimal, F2 in hex.
11110011 128 + 64 + 32 + 16 + 2 + 1 = 243 in decimal, F3 in hex.
11110100 128 + 64 + 32 + 16 + 4 = 244 in decimal, F4 in hex.
11110101 128 + 64 + 32 + 16 + 4 + 1 = 245 in decimal, F5 in hex.
11110110 128 + 64 + 32 + 16 + 4 + 2 = 246 in decimal, F6 in hex.
11110111 128 + 64 + 32 + 16 + 4 + 2 + 1 = 247 in decimal, F7 in hex.
11111000 128 + 64 + 32 + 16 + 8 = 248 in decimal, F8 in hex.
11111001 128 + 64 + 32 + 16 + 8 + 1 = 249 in decimal, F9 in hex.
11111010 128 + 64 + 32 + 16 + 8 + 2 = 250 in decimal, FA in hex.
11111011 128 + 64 + 32 + 16 + 8 + 2 + 1 = 251 in decimal, FB in hex.
11111100 128 + 64 + 32 + 16 + 8 + 4 = 252 in decimal, FC in hex.
11111101 128 + 64 + 32 + 16 + 8 + 4 + 1 = 253 in decimal, FD in hex.
11111110 128 + 64 + 32 + 16 + 8 + 4 + 2 = 254 in decimal, FE in hex.
11111111 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255 in decimal, FF in hex.
How this list was compiled: All 256 values an 8-bit byte can hold, 00000000 to 11111111, in counting order. Nothing here was typed by hand: the bits, place values, decimal, hex and octal forms and the count of 1s were computed with Python (format and sum) by the script randomgeneratorhq-fam-number-formats-3-binary-dataset.py, and every sum of place values was asserted equal to the decimal value. Reference for the format, checked 2026-09-18: a byte of eight bits holds the values 0 through 255 (https://en.wikipedia.org/wiki/Byte ); a hex digit stands for four bits, a nibble, and a byte is two hex digits (https://en.wikipedia.org/wiki/Hexadecimal ). ASCII characters are given only for the 95 printable codes, 32 (space) to 126 (tilde), as listed at https://en.wikipedia.org/wiki/ASCII , checked 2026-09-18; codes 0 to 31 and 127 are control codes, and ASCII stops at 127, so bytes from 128 up carry no character here. Groups: three value ranges that split the table, plus powers of two, values of all 1s from the right (one less than a power of two), bytes that read the same in both directions, and printable ASCII. Licence: own work