About the random number generator
Generate random numbers in any range, with or without repeats, pick winners from a list, shuffle a list, flip coins or roll dice in NdM notation. It uses your browser's cryptographic random source with rejection sampling, so every outcome is equally likely. Nothing is sent to a server.
How to use it
- For numbers, set the minimum, maximum and how many you want, then press Generate.
- Tick “Allow duplicates” if the same number may appear more than once.
- To pick or shuffle, paste one item per line, then press Pick or Shuffle all.
- Flip coins or roll dice with the cards at the bottom; type notation like 3d6 or tap a preset.
Questions
- Is this random number generator truly random?
- It uses crypto.getRandomValues, the browser's cryptographically secure generator. Values are drawn with rejection sampling, which avoids the small bias a plain remainder calculation adds.
- Are the minimum and maximum included?
- Yes. A range of 1 to 6 can return both 1 and 6.
- Why can't I draw 20 unique numbers from 1 to 10?
- Without duplicates, each number can appear only once, and 1 to 10 contains only 10 numbers. Allow duplicates or widen the range.
- What does 2d6 mean?
- It is dice notation: roll two six-sided dice. The number before the d is how many dice, and the number after is how many sides each has.
- How do I pick a random winner from a list of names?
- Paste the names one per line, set Pick to the number of winners, and press Pick. Each name can be chosen at most once.