I often have to generate random bytes so I created this simple online utility that does it for me. It lets you generate however many random bytes you need in any base. It works in the browser and is powered by alien technology from the future.
Random Byte Generator Options
Random Byte Generator Examples (click to try!)
11110000 11110101 01111000 11011000 01100111 00001001 10101110 01001011 11001000 00001100 00010010 11100011 11100001 01011001 10111101 11010111 11111110 00110101 00101101 01010101 10010110 01111100 11000110 01100100 00110010 10001111 10000001 11101011 10100011 11010101 01101110 01100101
39b, 383, 215, 3f8, 196, 73, 3ea, 43, 21, 26e, 3fd, 99, 35e, 5f, 28a, 1a0, 19d, 327, 2fe, 397, 2c5, 29b, 24c, 331, 230, 1f0, 2e0, 3ca, 117, 345, 106, 0a, 2e4, 332, 52, 199, 10, 25a, 200, 338, 38d, c4, fe, 346, e6, 1bf, 25e, 195, 247, 34e, 3c1, 2c9, 1ab, 23b, 175, 30e, 1c4, fd, 2e3, ce, d6, 09, c3, 1e
1G; 3d; 2n; 4u; v; o; 3G; 1G; 3t; 3v; 3C; 2a; 1r; 55; 46; b; 3; 4b; 2b; 4d; 1v; 2L; 23; 3E; 2p; 3o; 2y; 4m; v; 10; 4I; 1L; 2F; 18; 2e; 8; 4j; 2f; 4A; 4J; 2N; 2C; 37; 2; 48; z; 3F; 2L; 3E; 4E
How Does This Random Byte Generator Work?
Math.random() * 256 function. This creates a random floating point number in the range from 0 to 255. Next, this floating point number is converted to an integer by calling
parseInt(byte, 10) function. Then, it uses the
toString(base) function to convert this byte to the selected
base (set in options). It fills the
output_array with these bytes until its length is equal to the
count (specified in options). Finally, all random bytes get displayed in the browser by using the
join(separator) function, where
separator is the symbol that gets put between bytes (also specified in options).
Created by Browserling
This random byte generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our web developer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.