How to use the random number generator
- Set the lowest and highest possible number — both are included in the range. For a dice roll use 1 and 6; for a lottery-style draw, for example 1 and 49.
- Choose how many numbers you need. Keep No repeats ticked when each number may only come up once (raffle tickets, lottery numbers); untick it for independent draws like repeated dice rolls.
- Click Generate. Click again for a new draw.
To pick winners or decide an order, switch to Pick from a list, paste one name per line and choose how many to pick. Each name can be picked at most once, and duplicate lines count as separate entries (so someone listed twice has two chances).
How random is it?
Many online generators use Math.random(), which is fast but not designed to be unpredictable, and then map it to a range with a method that slightly favors some numbers. This tool uses crypto.getRandomValues() — the browser's cryptographically secure generator, seeded by the operating system — and rejection sampling, so every number in the range is exactly equally likely.
That makes it suitable for everyday fair choices: picking a giveaway winner, assigning teams, choosing who presents first, or drawing sample IDs for a quality check. For regulated lotteries, gambling or legally binding draws, use a certified and audited service, which also gives participants a way to verify the result.
Running a fair giveaway
- Publish the rules first: who can enter, the closing time and how many winners you'll pick.
- Export the entries (comments, emails, ticket numbers) and remove duplicates if each person should have one chance — the remove duplicate lines tool helps.
- Number the entries and draw numbers, or paste the list and pick names directly. Record your screen if participants want proof.
- Draw a few extra names as reserves in case a winner doesn't respond.
Frequently asked questions
Are the numbers truly random?
They come from your device’s cryptographically secure random number generator, which is unpredictable for all practical purposes, and every value in the range is equally likely.
Is the maximum included?
Yes. Both the minimum and maximum are possible results. 1 to 6 behaves exactly like a die.
How do I generate a list of unique numbers?
Keep “No repeats” ticked and set “How many” — for example 6 numbers from 1 to 49. You can’t ask for more unique numbers than the range contains.
Can I see previous draws?
No, nothing is stored. Copy the results if you need to keep them.