How to generate random numbers
- Enter the minimum and maximum, the lowest and highest values you want (negative numbers are fine).
- Set how many numbers to generate, from 1 up to 1,000.
- Optionally tick Unique (no repeats) so every number is different, or Sort results to list them in ascending order.
- Click Generate. You will get one number per line, plus a single highlighted lucky number.
- Hit Copy to grab the whole list and paste it wherever you need it.
How the randomness works
Most casual random tools rely on Math.random(), which is fast but not designed to be fair or unpredictable. This generator instead uses your browser native crypto.getRandomValues(), the same cryptographically-secure source used for security-sensitive work. To avoid the subtle modulo bias that creeps in when you fold a 32-bit value into a smaller range, it uses rejection sampling: it discards the few values that would skew the distribution, so every number between your minimum and maximum is equally likely.
When you ask for unique numbers, the tool shuffles the available values with a Fisher, Yates style draw and takes the first few, guaranteeing no repeats. It first checks whether your range is actually wide enough: asking for 20 unique numbers between 1 and 10 is impossible, since only 10 values exist. Rather than looping forever, silently repeating, or simply refusing, the tool generates all 10 unique numbers it can and tells you it clamped the count.
Weighted pick mode
The Weighted pick tab is a separate mode for when outcomes should not all be equally likely. List your numbers or short outcomes one per line, and optionally add a weight with a colon, for example 2:3 makes 2 three times as likely to be drawn as an entry left at the default weight of 1. Set how many picks you want and whether repeats are allowed, then hit Draw.
With no repeat picks ticked, each entry can win at most once: once it is drawn it is removed from the pool before the next pick, so five picks from five entries always returns all five, just in a random order weighted by their odds. Leave it unticked and every pick is independent, so a heavily weighted entry can win more than once. If you ask for more no-repeat picks than you have entries, the tool draws all of them and tells you it did, the same clamp behavior as the number range mode above.
What can you use it for?
A random number generator is handy for far more than dice rolls. Use it to pick a winner in a giveaway, choose lottery-style numbers, assign people to teams or groups, sample rows from a spreadsheet, seed a game or simulation, generate test data, settle a friendly decision, or pick a random page, question or prize. The sort option is useful when you need an ordered draw (like lottery balls), and unique is perfect for raffles where the same ticket should not win twice. When some outcomes should count for more than others, for example a prize with three entries versus a prize with one, weighted pick mode handles it directly.
Frequently asked questions
What is the lucky number?
It is the first number drawn in your batch, shown large so you can use the tool as a quick single-pick. It is a genuine random pick, it is chosen before any sorting is applied, so it is not just the smallest value.
Can I use negative numbers or zero?
Yes. The minimum and maximum can be any whole numbers, including negatives and zero, as long as the minimum is not greater than the maximum. If you swap them by mistake, the tool fixes the order for you.
How many numbers can I generate at once?
Up to 1,000 per batch, to keep the output readable and instant. Generate again for another independent, freshly random batch.
Is this good enough for a real prize draw?
The randomness is cryptographically secure and unbiased, which is more than enough for raffles, giveaways and games. For legally regulated lotteries, follow whatever certified process your rules require.
What happens if I ask for more unique numbers than the range allows?
The tool generates as many unique numbers as the range can actually supply and tells you it did that, instead of refusing outright or quietly handing back fewer numbers with no explanation.
Can I make some numbers more likely to be picked than others?
Yes, switch to the Weighted pick tab. List your numbers or outcomes one per line, add a weight like 2:3 to make that entry three times as likely, and draw one or more picks with or without repeats.