Random Number Generator
Pick random integers in any range — raffles, dice substitutes, sampling, giveaways, and classroom draws.
How it works
Every number is drawn uniformly from your range, meaning each integer between the minimum and maximum has exactly the same chance of appearing — a number between 1 and 100 is just as likely to be 7 as 93. Turn on unique-only mode and the tool shuffles the whole range (a Fisher–Yates shuffle, the standard unbiased shuffling algorithm) and deals numbers off the top, so nothing repeats — ideal for raffle draws or picking lottery-style combinations. If you ask for more unique numbers than the range contains, the tool tells you instead of silently repeating. Note this uses your browser's built-in random number generator, which is fine for games and giveaways but not for cryptography — use the password generator for secrets.
How to use
- Set the Minimum and Maximum of your range — both endpoints are included, so 1 to 100 can produce 1 or 100.
- Enter How many numbers? (up to 10,000) for the number of results you need.
- Tick Unique only (no repeats) for draws, raffles, and lottery-style picks where no number may appear twice.
- Click Generate; results appear as chips below the button and refresh automatically whenever you change a field.
Frequently asked questions
Is every number equally likely?
Yes. Each integer between the minimum and maximum has exactly the same probability on every draw — a number from 1 to 100 is as likely to be 7 as 93. The draws are independent unless unique-only mode is on.
How does unique-only mode work?
The tool shuffles the entire range with a Fisher–Yates shuffle — the standard unbiased shuffling algorithm — and deals numbers off the top, so nothing repeats. If you ask for more unique numbers than the range holds, it shows an error instead of silently repeating.
How do I simulate a die roll?
Set Minimum to 1, Maximum to 6, and How many numbers to 1, then click Generate. For two dice, request 2 numbers; for a 20-sided die, set the Maximum to 20.
Can I use this for cryptography or secure lotteries?
No. It uses your browser's standard random number generator, which is fine for games, raffles, and sampling but not unpredictable enough for secrets. For anything security-related, use the password generator, which uses cryptographic randomness.