🎰 Random Number Generator
Quick answer
This generator uses the Web Crypto API (crypto.getRandomValues) — the cryptographically secure random source built into your browser — with rejection sampling so every number in the range is equally likely, with no pattern or bias. You can draw up to 1,000 numbers at once, optionally without repeats, and sorted ascending or descending.
✅ 100% free · 🔒 Runs in your browser — files never leave your device · 🚫 No sign-up
How to use the Random Number Generator
- Enter the minimum and maximum of your range.
- Choose how many numbers you need (1–1,000).
- Tick "Unique numbers only" for draws like lotteries, and pick a sort order if you want.
- Click Generate, then copy the full list with one click.
Frequently asked questions
Are these numbers really random?
Yes. They come from your operating system’s cryptographic random generator via the Web Crypto API — the same source used for encryption keys — not from a predictable formula.
Why can I not pick 100 unique numbers between 1 and 50?
A range of 1–50 only contains 50 different values, so 100 unique picks are impossible. Either widen the range or allow repeats.
Can I use this for a giveaway or raffle?
Yes — with unique mode on, it works like drawing names from a hat without replacement, which is the fair way to pick raffle and lottery-style winners.