Random Number Generator
Random numbers in any range
About the Random Number Generator
Generate truly unpredictable numbers for raffles, games, sampling or decisions. The generator uses your browser's cryptographically secure random source, and can produce unique numbers (no repeats), which is ideal for lucky draws.
- Enter the minimum and maximum values.
- Choose how many numbers you want.
- Tick “No duplicates” for unique numbers and “Sort” to order them.
- Press Generate. Copy the results with one click.
Frequently asked
Are the numbers really random?
They come from crypto.getRandomValues, the browser's cryptographically secure random generator, with no bias towards any value in the range.
Can I generate numbers without repeats?
Yes. Tick “No duplicates”. The count cannot be larger than the size of the range in that case.
Can I use it for a raffle or giveaway?
Yes. Number your entries, set the range to match and generate the winning number(s).
Is what I type sent to a server?
No. The tool runs entirely in your browser and there's no server behind it, so what you type never leaves your device and nothing is stored. You can check: it keeps working if you go offline after the page has loaded.
More from the Calculators drawer
Other tools kept in this drawer, plus a few favourites from the bench.