Each bit generated independently from your browser's cryptographic engine. 256 possible values, each equally likely.
Binary represents all values using exactly two symbols: 0 and 1. Gottfried Wilhelm Leibniz formalized the modern binary system in 1679, publishing his findings in 1703, partly inspired by the hexagram patterns of the ancient Chinese I Ching. Leibniz saw binary as a window into fundamental logic: every complex quantity decomposed into the simplest possible components. Three centuries later, that same decomposition underpins every digital system on Earth.
Each additional bit doubles the number of possible values. One bit distinguishes 2 states. Eight bits (one byte) produce 256 distinct patterns, enough to encode any ASCII character. Sixteen bits reach 65,536 values. Thirty-two bits span over 4 billion, covering the entire IPv4 address space. Sixty-four bits reach 18.4 quintillion, a number so large that randomly generating the same 64-bit value twice is less probable than selecting a specific atom from a glass of water. The exponential growth of binary makes modern computing feasible: a modest number of physical switches creates an astronomical number of representable states.
Binary is a positional number system. The rightmost bit represents 20 (which equals 1). Each position leftward doubles: 21 = 2, 22 = 4, 23 = 8, and onward. The binary string 10110100 equals 128 + 32 + 16 + 4 = 180 in decimal. Hexadecimal (base 16) provides a compact alternative: each group of four bits maps to one hex digit (0 through F). The same 10110100 becomes 0xB4. Both conversions appear below the grid above, updating live with each generation.
This tool generates all bits simultaneously using crypto.getRandomValues(), the Web Cryptography API specified by the W3C. Every bit position draws from the same hardware entropy pool that secures online banking and encrypted communications. Each bit is statistically independent: knowing the value of any subset provides zero information about the remaining bits. The server delivers this page; your device provides the entropy. Your bitstring never leaves your browser.
Binary strings are the ideal entry point for base conversion exercises. Generate an 8-bit string with /binary, then have students manually convert to decimal and hexadecimal. Compare their work to the live values shown below the grid. For a probability exercise, have the class generate 50 strings and observe the convergence chart: the percentage of ones tightens around 50% as the sample grows. Increase to /binary/16 or /binary/32 for more advanced groups.
The URL defines the bit length. Type any value from 1 to 64:
Send this link. Same bit length, their own random string. Compare patterns.
Daily Inspiration
Jury-selected work from the A' Design Award, presented fresh each morning.