Random Number Generator
Generate random numbers in any range, roll dice, or flip a coin. Choose how many and whether numbers can repeat.
Random Number Generator
Picking Something Truly at Random
When you need a number with no pattern to it - to pick a winner, choose a team, or run a quick game - you want every option to have an equal chance and no way to predict the next one. That is what this tool does: each press gives a fresh set, with every value in your range just as likely as any other.
Switch between three modes: random numbers in a range you set, a dice roll (4 to 20 sides), or a coin flip. For numbers you can also decide whether repeats are allowed - turn that off and every number in the set is unique, like drawing names from a hat without putting them back.
How to Use It
- Choose what to generate: random numbers, dice, or coin flip.
- For numbers, set the minimum, maximum, and how many - and whether duplicates are allowed.
- Press Generate. Press again for a new set.
Each set contains at most 1,000 results. Use whole-number bounds from -9,007,199,254,740,991 to 9,007,199,254,740,991, with no more than 9,007,199,254,740,991 values in the range. These limits keep the integers exact. If you request more unique numbers than the range contains, the tool returns every available value once.
What “Random” Means Here
With duplicates allowed, each value is drawn independently, so past results never change the odds of the next one - a coin that just landed heads is still 50/50 on the next flip. With duplicates disabled, each draw chooses from the values that remain. The numbers are generated in your browser when you press the button; nothing is sent anywhere.
Common Uses
- Pick a winner or a random order for a list of people.
- Roll dice for a board game when you have no dice handy.
- Choose lottery-style numbers, or a random PIN-length set.
- Flip a coin to settle a decision.
Examples
| Mode | Settings | Possible result |
|---|---|---|
| Numbers | 1 to 100, pick 5 | 42, 7, 88, 13, 60 |
| Numbers (unique) | 1 to 10, pick 4 | 3, 9, 1, 6 |
| Dice | d6, roll 2 | 4, 1 (total 5) |
| Coin | flip 5 | H T H H T |