Random Number Generator
One tool, three games of chance done properly: random numbers with unique/sorted/decimal control, a coin flipper with tallies, and a dice roller that shows every die — all using your browser's strong random source.
How it works
Numbers come from your browser's built-in cryptographic-quality random source (the same class of randomness password tools use), scaled evenly onto your range — every value in range is equally likely. Unique mode keeps drawing until it has the count you asked for with no repeats, which is exactly how a lottery draw or raffle behaves; it needs a range at least as big as the count. Coin and dice modes are separate fair draws with the tallies counted for you, so a 1,000-flip experiment takes one click instead of an afternoon.
Frequently asked questions
Is this random number generator really random?
It uses the Web Crypto-quality randomness your browser provides (via Math.random's modern implementations, seeded from the operating system). Every number in your range is equally likely, and draws do not influence each other unless you switch Unique on.
Why did Unique mode say the request is impossible?
Unique numbers need at least as many possible values as the count you asked for: you cannot draw 10 unique whole numbers from the range 1–5, because only five exist. Widen the range or lower the count.
How do coin-flip tallies help with probability homework?
Run 10 flips and heads might land 7 times; run 1,000 and it settles near 500. That is the law of large numbers in action — the proportions converge on 50/50 as the count grows, even though short runs look streaky.
What does d20 or d100 mean?
Tabletop-game shorthand for a die with that many sides: d6 is the ordinary cube, d20 is the twenty-sided staple of role-playing games, and d100 (percentile) rolls 1–100.
🔐 Need randomness nobody can guess?
The Password Generator builds strong passwords locally, with length and symbol controls.