Generate random numbers
Whenever you need a fair, unbiased number picked without any manual guesswork — settling a bet, drawing a raffle winner, choosing who goes first in a game, or picking a lottery-style set of numbers — doing it by hand (rolling dice, drawing slips of paper) is slow and easy to game. This Random Number Generator picks whole numbers from any range you set, with both ends included, so 1 to 6 behaves like a die and 1 to 100 gives every value from 1 up to and including 100 the same chance. It's built for situations where you want the outcome to be unpredictable rather than something a person subconsciously influences.
You set a minimum and maximum and choose how many numbers you want. If you need several unique picks — for example, five winning raffle ticket numbers out of 500 entries — untick "Allow duplicates" so the same number can't come up twice in one batch. When you draw more than one number, the Sum and Average appear under the results, and each batch is kept in the History list so you can check an earlier draw without starting over.
A practical tip: if you're running a public raffle or contest, generate the numbers on screen where participants can watch and keep the page open, because the history lives only in the open tab and is gone after a reload. The numbers come from the browser's standard Math.random() function, which is ideal for games and draws but is not meant for passwords, PINs or anything else that needs cryptographic randomness.
Generate one or more random numbers within a custom range in just a few clicks.
Enter your minimum and maximum values to define the range the number should be picked from.
Specify how many random numbers you want generated in this draw — one for a quick pick, or several for a batch.
Leave it ticked for independent draws such as dice rolls. Untick it when each number may appear only once, such as raffle winners.
Press Generate. The numbers appear in the order they were drawn, and for more than one number the Sum and Average are shown underneath.
Press Copy to put the batch on your clipboard as a comma-separated list. Earlier batches stay in the History list below until you reload the page.
There are 13,983,816 possible sets of six, so any particular set has about a 1 in 14 million chance.
The chance all five differ is 10 × 9 × 8 × 7 × 6 ÷ 10⁵. This is the birthday problem on a small scale.