Random Number Generator
Free random number generator: draw one number or a batch from any range, with an optional no-repeats mode, using your browser's cryptographic randomness.
updated
- ✓ Runs in your browser — nothing uploaded
- ✓ No sign-up
- ✓ Free, no limits
This random number generator draws whole numbers from any range you set. Ask for a single number to settle a decision, or a batch for a draw, a sample or a set of test values — and switch on 'no repeats' when you need each number to be unique, like drawing raffle tickets or picking lottery numbers.
What matters in a random generator is where the randomness comes from. This one uses your browser's cryptographic source, crypto.getRandomValues, not the ordinary Math.random that many pages rely on — the same class of randomness used for security tokens, so the output can't be predicted or reproduced. The no-repeats mode shuffles the whole range with a Fisher–Yates shuffle, which keeps every ordering equally likely rather than biasing toward some numbers, a trap that naive 'pick and retry' code falls into.
It's genuinely private and genuinely offline: the numbers are generated on your device, nothing you enter or draw is sent anywhere, and the page keeps working with your connection off. Use it for giveaways, classroom picks, dice-and-coin style decisions, randomised testing, or any time you need an impartial number and want to be sure the site isn't quietly logging the result.
Frequently asked questions
Are these numbers truly random?
They come from your browser's cryptographically secure generator (crypto.getRandomValues), which is designed to be unpredictable — far stronger than the ordinary Math.random. For everyday draws, sampling and decisions that is as random as you need.
How do I draw unique numbers with no repeats?
Turn on 'no repeats'. The generator then shuffles the whole range and takes the first few, guaranteeing every number is different — the right mode for raffles, lottery lines or assigning without duplicates.
Is the result sent anywhere?
No. Generation happens entirely in your browser; nothing you enter or draw leaves your device. You can confirm it in the Network tab, or disconnect and keep generating.