What the Random Number Generator does
Set a minimum and maximum (both inclusive), how many numbers you want and whether repeats are allowed. The generator uses cryptographically secure randomness with rejection sampling, so each value in the range is equally likely.
It works for dice rolls, raffles, sampling or picking a number for a game.
How to use it
- Enter the minimum and maximum.
- Choose how many numbers and whether they must be unique.
- Press Generate.
Practical examples
- Roll a six-sided die with min 1, max 6.
- Draw 6 unique numbers from 1–49.
Features
- Unique option
- Sorting
- Up to 10,000 numbers per run
- Unbiased selection
Limitations
- Whole numbers only, within ±9 quadrillion and a range of at most about 4.29 billion values.
- Not intended for regulated lotteries or gambling.
Privacy
This tool runs entirely in your browser. What you type is not sent to our servers and is discarded when you close or reload the page.
Frequently asked questions
Is it truly random?
It uses the browser’s cryptographic generator, which is suitable for everyday fair draws.