Random Number Generator
GenerateGenerate one or many random numbers in any range using your browser's cryptographic random source, with an optional no-repeats mode for raffles and draws.
Runs entirely in your browser. Nothing is uploaded.
Numbers come from your browser's cryptographic random source, and the range is sampled without modulo bias, so every value is equally likely. Nothing is generated on a server or recorded, which also means a draw cannot be independently audited — for a prize draw that needs to be verifiable, keep your own record of the result.
Secure random picks in any range
Most random number generators on the web use the same predictable pseudo-random function, and most compound the problem by taking a remainder to fit the range, which quietly makes some numbers likelier than others. This one draws from your browser's cryptographic random source and rejects values that would skew the distribution, so every number in your range is genuinely equally likely — whether you need one number or a thousand.
How to generate a random number
- 1
Set your range
Enter the minimum and maximum. Both ends are included.
- 2
Choose how many
Generate a single number, or up to a thousand at once.
- 3
Pick with or without repeats
Turn on no-repeats to draw like a raffle, where each number can only come out once.
Good to know
- Randomness comes from crypto.getRandomValues, the same secure source your browser uses for encryption, not from Math.random.
- The range is sampled by rejecting values in the final partial block, which removes the modulo bias that a plain remainder introduces.
- No-repeats mode shuffles the range properly rather than re-rolling until it finds an unused number, so large draws stay fast and correct.
- Nothing is sent to a server, which also means a result cannot be independently verified afterwards — keep your own record for a prize draw.
What people use it for
- Picking a winner from a numbered list of entrants
- Choosing a random sample of rows to spot-check
- Settling a decision or ordering without bias
Frequently asked questions
How random is it?+
It draws from crypto.getRandomValues, your browser's cryptographically secure random source, and rejects values from the final partial block of the range so there is no modulo bias. Every number in your range is equally likely.
What does no repeats do?+
It draws without replacement, like pulling tickets from a hat, so no number appears twice. You cannot request more numbers than the range contains.
Can I use this for a prize draw?+
The numbers themselves are sound. Because nothing is sent to or logged on a server, though, a result cannot be independently verified afterwards — keep your own record, or use a service built for auditable draws.
Is my data sent to a server?+
No. Generating numbers happens entirely in your browser using built-in web APIs. Nothing is uploaded, stored, or logged.
Related tools
Password Generator
Strong, random passwords
QR Code Generator
Make a QR code for anything
Favicon Generator
Turn any image into favicons
Meta Tag Generator
SEO, Open Graph & Twitter tags
Or browse all 50 free tools.
