Random Number Generator
Fast, tactile, and easy to trust. Generate one result for a quick decision or a long unique list for raffles, classrooms, and planning workflows β without sending anything off your device.
Set your range
How this works β Privacy
This generator runs entirely in your browser using the Web Crypto API (crypto.getRandomValues). Your inputs and results never leave your device β no data is sent to any server. Suitable for raffles, classrooms, and casual use. Not certified for regulated lotteries.
How to use
How to pick a raffle winner
- Set Min to 1 and Max to the number of participants.
- Set Count to the number of winners you need.
- Turn Allow duplicates off so no one wins twice.
- Click Generate β each number maps to a participant in your list.
How to generate a list of unique random numbers
- Enter your desired range (Min and Max).
- Set Count to how many numbers you need.
- Turn Allow duplicates off.
- Click Generate β each result is guaranteed unique.
How to reproduce a random result with a seed
- Open Advanced and enter a seed number.
- Configure your range and count.
- Click Generate.
- Share the seed β anyone using the same seed and settings gets the same result.
Example results
Common mistakes to avoid
- Treating the output as certified for regulated lotteries. This generator is suitable for raffles, classrooms, and casual use, but is not a substitute for a regulated, audited RNG.
- Leaving Allow duplicates on when you need unique results. Toggle it off whenever you do not want repeats β for example when picking distinct winners.
- Setting Count higher than the size of the range with duplicates off. Unique mode requires Count β€ Max β Min + 1.
- Forgetting that a shared seed reproduces the entire list. If you publish a seed for transparency, the next person can recover the same numbers.
How does this random number generator work?
It uses your browser's built-in Web Crypto API (crypto.getRandomValues) to produce cryptographically secure random numbers. No external server is contacted during generation.
Is this random number generator truly random?
It uses a cryptographically secure pseudo-random number generator (CSPRNG) provided by your browser. The output is unpredictable and suitable for raffles, games, and casual use β though it is not certified for regulated lotteries.
Are my inputs or results stored or sent anywhere?
No. Everything happens in your browser. Your numbers are never transmitted, stored, or logged. We don't even know what you generated.
How do I generate multiple unique random numbers?
Set your desired range, increase Count to the number of values you need, and turn off Allow duplicates. Each result will be unique within the range.
Can I use this for a raffle or giveaway?
Absolutely. Turn off duplicates, set the range to match your participant count, and generate. For auditable results, use a seed β others can verify by entering the same seed and settings.
How do I reproduce the same result later?
Open Advanced and enter a seed number. The same seed combined with the same range, count, and settings will always produce the same output.
What is the difference between with replacement and unique?
"With replacement" (duplicates on) means a number can appear more than once. "Unique" (duplicates off) means every number in the result is different β like drawing balls from a bag without putting them back.
Why do I sometimes see duplicates?
Duplicates appear when Allow duplicates is turned on (the default). Turn it off if you need every number to be unique.
What is the maximum count I can generate?
You can generate up to 1,000 numbers in a single run. For unique mode, the count cannot exceed the size of the range (Max β Min + 1).
How do I get a random decimal number?
This release focuses on integer generation first. Decimal mode is planned as an Advanced follow-up so the core experience stays fast and readable on mobile.
- Tap a preset to set a range and count in one click β perfect for dice rolls and quick picks.
- Turn off Allow duplicates whenever you need a unique list (for example, to draw distinct raffle winners).
- Open Advanced to seed the generator when you need a reproducible, shareable result.
- For long lists, scroll the result grid and tap a chip to copy a single value, or use Copy all to grab the whole batch.
- Open DevTools β Network and confirm zero requests fire during generation.