Min
Max
How many
Result (click to copy)
Dice roller
History (last 20 single rolls — click to copy)
Frequently Asked Questions
Is this truly random?
Yes. This tool uses
crypto.getRandomValues() — the Web Cryptography API — which is cryptographically secure randomness. Unlike Math.random(), which uses a deterministic algorithm, crypto.getRandomValues() uses entropy from your operating system's secure random source.What does 'unique numbers only' mean?
When enabled, no number will appear twice in the generated list. For example, generating 6 unique numbers between 1 and 6 is equivalent to rolling a standard die 6 times with no repeats — like a lottery draw. The range must be large enough to accommodate the count.
What are the dice options (d4, d6, d20)?
These are standard tabletop RPG dice. d6 is a standard 6-sided die, d20 is a 20-sided die used in Dungeons & Dragons, and d100 (percentile die) generates 1–100. All use the same cryptographic randomness as the main generator.
Can I generate lottery numbers?
Yes. Set min to 1, max to 49 (or your lottery's max), count to 6 (or however many numbers), and enable 'unique numbers only'. Click Generate. Each number in the range has an equal probability of being selected.