Random Number Generator
Generate random numbers between any minimum and maximum, one or many, with or without repeats. Truly fair, cryptographically random picks. Free.
Fair random numbers
Set a range and press Generate. Numbers come from your browser's cryptographic random generator, with rejection sampling so every number in the range has exactly the same chance, unlike simple methods that slightly favour some values. Generate up to 1,000 numbers at once, with No repeats for draws like raffles and lottery picks, and sort them if you like. Use it for giveaways, games, picking a winner, choosing a sample or settling a decision.
How to use it
- 1
Set the range
The smallest and largest numbers allowed, inclusive.
- 2
Choose how many
And whether numbers can repeat.
- 3
Press Generate
Press it again for a new draw.
Frequently asked questions
Is this truly random?
It uses crypto.getRandomValues, the same cryptographically secure source browsers use for encryption keys, so results can't be predicted.
Can I pick lottery numbers?
Yes: for example, set 1 to 49, choose 6 numbers with No repeats and tick Sort. Every combination is equally likely.
Are the minimum and maximum included?
Yes. A range of 1 to 10 can return both 1 and 10.
Is anything sent to a server?
No. Numbers are generated in your browser.