Pick one or more random integers within any range you set. Use it for dice rolls, lottery picks, classroom draws, or any time you need a fair, unbiased random selection.
Try:
Result
Last 10 results
How to use
Set the Min and Max values to define your range (e.g. 1 and 6 for a die).
Set How many numbers — enter more than 1 to draw multiple values at once.
Tick No duplicates if each number should appear at most once (great for lottery draws).
Click Generate or press Enter — your result appears instantly.
Previous results are shown below the button as a history trail.
Frequently Asked Questions
How do I generate a random number between 1 and 10?
Set Min to 1 and Max to 10, then click Generate. The result is a cryptographically uniform random integer in that range.
Can I generate lottery numbers?
Yes — use the "Lotto 6/49" preset to generate 6 unique numbers between 1 and 49, or customise the range to match your local lottery.
What does "no duplicates" mean?
When generating multiple numbers, "no duplicates" ensures each number appears at most once — ideal for lottery draws or random ordering.
How random is this generator?
It uses JavaScript's Math.random() which is a pseudorandom number generator (PRNG) seeded by the browser — suitable for games and selection but not cryptographic use.
Can I generate a random number between 0 and 255?
Yes — use the "0–255 (byte)" preset, or set Min to 0 and Max to 255 manually.
Did you know?
True randomness is surprisingly rare in computers. Most "random" numbers are pseudorandom — deterministic sequences that merely appear random to statistical tests.
The RAND Corporation published "A Million Random Digits" in 1955 — a book of random numbers generated by an electronic roulette wheel, used for statistics research.
Cloudflare generates random numbers for cryptographic keys by filming a wall of lava lamps and using the unpredictable fluid motion as entropy.