Random Number Generator
Generate single numbers, random lists, dice rolls, and coin flips instantly.
How to use
- Single Number — Set a min and max, then click Generate. Click Re-roll for a new number in the same range.
- Number List — Set min, max, and how many numbers to generate. Check "No duplicates" to ensure every number appears only once.
- Use Shuffle to randomize the order of an already-generated list.
- Quick Tools — Roll standard dice (d4 through d100), flip a coin, or get a random Yes/No answer.
- Use the Copy buttons to copy results to your clipboard.
About this Random Number Generator
Computers cannot generate truly random numbers on their own — they use a pseudorandom number generator (PRNG), an algorithm that produces a sequence of numbers statistically indistinguishable from randomness, seeded by something unpredictable like the system clock.
"Random enough" for everyday use
Modern browser-based random number generation (JavaScript's Math.random(), backed by the browser's own PRNG) is more than sufficient for everyday uses like raffles, games, classroom activities, and decision-making. It is not the cryptographically secure randomness required for generating passwords, encryption keys, or security tokens — those use a separate, stronger method specifically designed to resist prediction.
Range and duplicates
Setting a minimum and maximum defines the inclusive range the generator draws from. For generating a list of multiple numbers, a "no duplicates" option matters for use cases like drawing raffle winners from a numbered pool, where the same number should not be selected twice; without it, each number in a list is drawn independently and repeats are possible.
Common uses
- Picking a winner from a numbered list of entries or participants
- Rolling virtual dice or generating game values
- Randomly assigning students, teams, or tasks
- Sampling a subset of data points for quick testing