Random number picker
Random number generator
True randomness, pseudo-randomness, and what this picker uses
Computers are deterministic machines, so they cannot toss a coin. What they can do is generate pseudo-random numbers: a mathematical recipe starts from a seed value and produces a long sequence that looks random, but would repeat exactly if the seed repeated. Ordinary pseudo-random generators — including the basic Math.random() built into JavaScript — are perfectly fine for games and classroom picks, yet their output can in principle be predicted if someone learns enough about the sequence or the seed.
This picker instead uses the browser's cryptographic generator, crypto.getRandomValues(). It draws on entropy — unpredictable noise your operating system gathers from timing, hardware and system events — the same source browsers use when creating security keys and tokens. Its numbers are not predictable from earlier results, which is exactly what you want when a draw has to be trusted. And everything happens locally in your browser; no numbers are sent anywhere.
Running a fair draw, and what people use it for
Fairness is mostly process. Fix the range (or the list of names) before you draw, draw once and accept the result, and if others are watching, share your screen or record the draw so nobody suspects a quiet re-roll. Decide in advance whether duplicates are allowed. With duplicates on, the same number can come up again, like rolling dice. With duplicates off, each number is removed once drawn — sampling without replacement, the way a raffle draw works, and the right setting when several distinct winners or places have to be picked.
Everyday uses go well beyond raffles: picking a student to answer, choosing the order of presentations, splitting a group into teams, settling who goes first, generating numbers for party games, or breaking a decision deadlock between two options. One boundary worth knowing: official lotteries and regulated prize draws must use audited, certified systems. For everything informal — classrooms, streams, clubs, families — a transparent draw with the settings agreed up front is fair in the way that matters.
Frequently asked questions
How do I pick a random number between 1 and 100?
Can it pick multiple numbers without repeats?
Is the picker truly random?
Can I pick a random number between 1 and 30?
How do I run a raffle draw with this?
Is this random number picker free?
Picking a number fairly
For a raffle or giveaway, set the range to match your entries exactly — 1 to 250 for 250 tickets — and pick in front of your audience or record the screen so the result is visibly fair. For classroom questions, a 1-to-30 range matched to the class register removes the "you always pick the same people" problem. For decisions, assign each option a number first, then let the picker choose.
Need more than one winner? Pick again and ignore repeats, or widen the plan before you start: decide the redraw rule in advance (for example, "duplicates are re-drawn") so nobody can argue the draw was adjusted after the fact. Every pick here is generated in your browser with the Web Crypto random source, the same quality of randomness used for security tokens.