Free online random number generator
Generate one random number or a whole list of them, anywhere within the range you choose. Set a minimum and maximum, decide how many numbers to draw, and pick whether the same number can repeat. Every value is produced with your browser's cryptographically secure random number generator, so the results are fair and impossible to predict — perfect for raffles, giveaways, lottery-style picks, dice rolls, sampling, and testing. Nothing is sent to a server; it all runs on your device.
How to generate random numbers
- Enter the minimum and maximum — the range is inclusive of both ends.
- Set how many numbers you want to generate.
- Turn Allow duplicates off if every number must be unique, like drawing raffle winners.
- Optionally tick Sort results ascending, then press Generate and click Copy.
Unbiased, secure randomness
Each number is drawn with crypto.getRandomValues and unbiased
rejection sampling, which discards the rare values that would otherwise make
some outcomes slightly more likely than others. That means an even, honest
distribution across your whole range — no modulo bias, no predictable
patterns. If you need random secrets instead of numbers, try the
password generator, or create random
identifiers with the UUID generator.
Private and free
This generator never uploads your inputs or results. All the work happens locally in your browser, so you can use it freely for anything from picking a winner to seeding test data. Refresh the page and everything is cleared.