Random Number Generator
Generate random numbers in any range.
About the Random Number Generator
Generate one or many random numbers within any range — integers or decimals, with an optional no-duplicates mode. Useful for raffles, sampling, test data and games.
How to use it
- 1Set the minimum and maximum range.
- 2Choose how many numbers and whether they must be unique.
- 3Generate and copy the results.
Fair picks, samples and test data
Reaching for a number 'off the top of your head' isn't actually random — people unconsciously favour certain digits — which matters when the pick needs to be fair. A generator removes that bias. Set any range and draw a single value for a giveaway or coin-toss decision, or a whole batch for sampling a list, seeding a game, or filling a spreadsheet with test data. The optional no-duplicates mode is what you want for raffles and lotteries, where the same entry shouldn't come up twice.
Common uses
- Drawing a fair winner for a raffle or giveaway.
- Selecting a random sample of rows from a list or dataset.
- Generating batches of test numbers for development.
Frequently asked questions
- How random are the numbers?
- They're produced by your browser's built-in random number generator, which is more than sufficient for everyday picking and sampling.
- Can I guarantee no repeats?
- Yes. Turn on the no-duplicates mode and every number in the batch will be unique, as long as the range is large enough to hold that many distinct values.