How to use the random number generator
- Set the lowest and highest numbers you want.
- Choose how many numbers to draw.
- Tick No repeats if each number should appear only once, like drawing raffle tickets.
- Press Generate. Press it again for a new draw.
Popular uses
- Giveaways and raffles: number the entries and draw winners fairly.
- Games: roll virtual dice (1 to 6), pick a player or choose a random question.
- Classrooms: call on a random student number or make random groups.
- Research and testing: pick a random sample from a numbered list.
- Decisions: can't choose between options? Number them and let chance decide.
How the randomness works
Many simple generators use Math.random(), which is fine for games but predictable in principle. This tool uses the Web Crypto API built into every modern browser, and it avoids "modulo bias", a subtle flaw that can make some numbers slightly more likely than others. Every number in your range is equally likely.
Need letters instead? Try the random letter generator. Picking from a list of names? Use the spin the wheel tool.
Last reviewed October 2026.