Skip to content
APK Peer

Random Number Generator

Free · runs in your browser · nothing uploaded

Quick answer

This random number generator picks fair, unpredictable numbers between any minimum and maximum you choose. Generate one number or up to 1,000, with or without repeats, for raffles, games, sampling or classroom activities. It uses your browser's cryptographically secure random generator, so results can't be predicted or rigged.

How to generate random numbers

  1. Set the Minimum and Maximum. Both are included in the range.
  2. Set How many numbers you want (up to 1,000).
  3. Tick No repeats if each number should appear only once.
  4. Tap Generate.

A single result is shown large so it's easy to read out; several results appear as a list you can copy.

How fair is it?

The generator uses your browser's cryptographically secure random number generator, the same source used for encryption keys. It also avoids a subtle problem in many simple random tools called modulo bias, where some numbers come up slightly more often than others because of how random values are squeezed into a range. Here, every number in your range has exactly the same chance.

Ideas for using it

UseSettings
Roll a die1 to 6, 1 number
Pick a raffle ticket1 to the number of tickets, no repeats
Lottery-style picksThe lottery's range and count, no repeats
Random sample1 to the size of your list, the number of items you need, no repeats
Classroom turns1 to the number of students

If your entries are names rather than numbers, the random name picker lets you paste the list and pick winners directly.

A note on lotteries

Random number generators can't predict or improve lottery odds: every combination is equally unlikely to win. Use it for fun picks, not as a strategy.

For unique identifiers, try the UUID generator. For random, secure passwords, use the password generator.

Numbers are generated on your device; nothing is sent to a server.

Frequently asked questions

Are these numbers truly random?

They come from your browser's cryptographically secure random number generator, which is suitable even for security uses. Every number in the range has an equal chance, and the tool avoids the bias simple random functions can introduce.

How do I pick lottery-style numbers?

Set the minimum and maximum to the lottery's range, set How many to the count of numbers drawn, and tick No repeats. Remember that every combination is equally unlikely to win.

Can I use this for a giveaway?

Yes. Number your entries, then generate a number in that range. For names instead of numbers, the random name picker lets you paste the list directly and pick one or more winners.

Last updated by the APKPeer Editorial Team. Read our privacy policy for how the site handles data.