How to use the Random Number Generator
- Enter the minimum and maximum.
- Choose how many numbers and whether duplicates are allowed.
- Click Generate and copy the result.
How it works
The tool maps secure random values uniformly onto your range (rejection sampling avoids bias). With “no duplicates” on, each value can appear only once, so you cannot request more numbers than the range holds.
Worked example
Minimum 1, maximum 100, count 5, no duplicates: for example 42, 7, 91, 15, 63.
Good to know
Use it for raffles, sampling, games and picking lottery-style numbers.
It is suitable for everyday use, not for regulated gambling.
Nothing is stored or sent anywhere.
Frequently asked questions
It uses crypto.getRandomValues, a cryptographically secure source, which is stronger than Math.random.
Yes, tick No duplicates; the count cannot exceed the number of possible values.
Yes, choose Decimals for values with 2 decimal places.