Use our FREE random number generator! Set the smallest and largest number you want, choose how many numbers you need, and press Generate. It works for raffles, prize drawings, picking a random line from a spreadsheet, choosing who goes first, or anything else that needs a fair, unpredictable number.
How random is it?
Computers are built to be predictable, so producing a truly unpredictable number takes some care. Many online generators use a pseudo-random function like JavaScript’s Math.random(), which produces a sequence that looks random but is generated from a starting value, or seed. That’s fine for a game, but it isn’t designed to be unpredictable.
This generator uses your browser’s cryptographically secure random number generator instead. It is the same source browsers use to create encryption keys, seeded by the operating system from hard-to-predict hardware and system events. Nobody, including us, can predict or influence the numbers it gives you, and every whole number in your range has exactly the same chance of coming up.
How to use the random number generator
Set the range
Enter the minimum and maximum. Both are included, so a range of 1 to 100 can return 1, 100, or anything in between. Negative numbers work too.
Choose how many numbers
Generate a single number or up to 10,000 at once. Leave Allow repeats off to get unique numbers, like drawing tickets from a hat, or turn it on if the same number can come up more than once, like rolling a die several times. Tick Sort results to list them from smallest to largest.
Generate and save the result
Press Generate. The result shows the date and time of the draw, and you can copy the numbers or download them as a CSV to keep a record.
Using it for a raffle
- Number your tickets, starting at 1.
- Set the minimum to 1 and the maximum to your last ticket number, with repeats off.
- Set “How many numbers” to the number of prizes, plus a few extra in case a winner can’t be reached.
- Generate once and keep the CSV as a record of the draw.
Running a giveaway from a list of entries rather than numbered tickets? Use our other free tool to randomly select a winner from a list of emails, or the giveaway picker if your social media giveaway has bonus entries.