Random Number Generator
Pick one or many random numbers between any minimum and maximum, with or without repeats, whole numbers or decimals, sorted or not.
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Random Number Generator
- 1 Enter the lowest and highest number you want.
- 2 Choose how many numbers you need, and whether they must all be different.
- 3 Copy the result, or press "Generate again" for new numbers.
About the Random Number Generator
The random number generator picks numbers between a minimum and a maximum, both included. Use it for raffles and giveaways, to roll dice (1 to 6), to pick a winner from a numbered list, to make lottery-style number sets or to choose test values.
Switch on "Unique" to never get the same number twice: the tool then draws without replacement, like drawing balls from a bag. With decimals you get numbers like 3.75, evenly spread over the range. You can sort the result from low to high or from high to low.
The numbers come from a well-tested pseudo-random generator seeded from your browser's secure randomness, so every result is unpredictable and every number in the range is equally likely. For passwords and other secrets, use the password generator instead.
Frequently asked questions
Are the numbers truly random?
They come from a pseudo-random generator started from your browser's cryptographically secure random source. Every number in the range has the same chance, and the results can't be predicted, which is more than enough for games, raffles and sampling.
Are the minimum and maximum included?
Yes. Between 1 and 10, both 1 and 10 can come up.
How do I avoid duplicate numbers?
Tick "Unique". You can then ask for at most as many numbers as there are in the range, for example 6 different numbers between 1 and 45.
Can I use it to pick a raffle winner?
Yes: number the tickets or entries, enter 1 and the highest number, and generate one number. For names instead of numbers, try the random decision maker or the team generator.