Random Number Generator
Pick random numbers in any range — for prize draws, raffle winners, picking who goes first, sampling, or games. Choose whole numbers or decimals, allow or ban duplicates, and generate up to 100 at once. Results come from your browser's WebCrypto cryptographically secure random source, not a predictable pseudo-random shortcut.
Fairness matters when a draw has real consequences. Cryptographic randomness is the same class of generator used for security keys, so every number in the range is equally likely and impossible to predict in advance — even by this page.
How to use
- Set the minimum and maximum of your range — anything from -1,000,000 to 1,000,000.
- Choose how many numbers you need, and toggle whole-numbers-only or no-duplicates as you prefer.
- Hit Generate — results appear instantly; generate again for a fresh set.
Frequently asked questions
Is this random number generator truly random?
It uses the browser's WebCrypto API — a cryptographically secure random source seeded by your operating system. This is the same quality of randomness used for encryption keys, which is far stronger than typical Math.random() generators.
Can I use it for a raffle or prize draw?
Yes. Set the range to your number of entries, turn on 'no duplicates' if you are picking multiple winners, and generate. The cryptographic source makes the draw fair and verifiable.
How do I generate a number between 1 and 100?
Set minimum to 1, maximum to 100, count to 1, keep 'whole numbers only' on, and press Generate. Both endpoints of the range are included.
What happens if duplicates are off and the range is too small?
You cannot pick 50 unique numbers from a 10-number range, so the tool shows a clear message instead of looping forever. Turn duplicates on or widen the range.