Pick winners, shuffle a list or split people into even teams
Random Number Generator
Draw numbers that are genuinely fair, for raffles, samples or games.
Loading tool…
How to use random number generator
Set the minimum and maximum (both are included).
Choose how many numbers and how many decimal places.
Tick no repeats for lottery-style draws, and pick an order.
Press Generate, then copy or download the list.
What this tool does
- Uses crypto.getRandomValues with rejection sampling, so every value in the range has exactly the same chance.
- Ranges up to 2^53 values, so large ranges stay exact.
- Draws up to 10,000 numbers at once, with or without repeats.
- Decimal output works in exact steps, such as 0.01 apart for two places.
How the result is verified
Every result is checked to lie in your range and, with no repeats on, to be distinct. You can test fairness yourself: draw 10,000 numbers from 1 to 10 and each value should appear close to 1,000 times.
Frequently asked questions
Is this random enough for a prize draw?
It uses the same secure random source browsers use for encryption keys, with no bias between values. For legal draws, also follow your local rules on witnesses and records.
What does no repeats do?
Each number can come out only once, like drawing balls from a bag. If you ask for more numbers than the range holds, the tool tells you instead of looping.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Roll any dice notation (2d6+3, 4d6kh3) or flip a coin, fairly
Made-up names, usernames and example.com test emails for mock data
Random numeric PINs that skip repeats, runs, years and pairs
Bulk random strings from preset or custom character sets, no repeats