About this random number generator
This free tool gives you random numbers between any two values you choose. Use it to draw raffle winners, roll for games, pick numbers for draws, assign random IDs, or sample data. Set a minimum and maximum, choose how many numbers you want, and decide whether repeats are allowed. When your browser supports it, numbers come from a cryptographically strong source (crypto.getRandomValues); otherwise it falls back to the standard generator. Everything happens on your device — nothing is uploaded.
Frequently asked questions
- How random are the numbers?
- When your browser supports it, the tool uses crypto.getRandomValues, a cryptographically strong random source built into modern browsers. Older browsers fall back to Math.random. Either way, numbers are generated on your device.
- How do I get numbers with no repeats?
- Uncheck Allow duplicates. The tool will then return unique numbers. The count you ask for must be no larger than how many numbers fit in your range, otherwise you will see an error.
- Is anything sent to a server?
- No. All numbers are generated locally in your browser, so the tool works offline and nothing is uploaded.