Random Number Generator

Generate random numbers in any range, or pick random names and items from a list.

Generate

Use 0 for whole numbers.

One item per line, or separate with commas.

Uses your browser's secure random number generator. Nothing you enter leaves your device.

How to use the random number generator

Need a random number for a game, a raffle, a classroom activity or a decision? This tool generates random numbers instantly, or picks random winners from a list of names.

Generating numbers

  1. Enter a minimum and maximum.
  2. Choose how many numbers you want, and how many decimal places (0 for whole numbers).
  3. Tick No repeats if each number should appear only once, and Sort if you want them in order.
  4. Press Generate. Press it again for a fresh set.

Picking from a list

Switch to Pick from a list, paste your names or items (one per line or separated by commas), choose how many to pick, and press Generate. Picks are shown in random order, which is handy for choosing a winner and runners-up.

Is it truly random?

This tool uses your browser's cryptographically secure random number generator (the Web Crypto API), the same kind of randomness used for security purposes. It's far less predictable than the basic random functions found in many simple tools. It also uses a technique called rejection sampling, so every number in your range has an equal chance of being chosen.

Everything runs on your device, so the numbers and lists you enter are never sent anywhere.

Popular uses

UseSettings to try
Roll a die1 to 6, one number
Flip a coin1 to 2 (1 = heads, 2 = tails)
Lottery-style picks1 to 49, six numbers, no repeats, sorted
Raffle or giveaway1 to the number of tickets, or pick from a list of names
Classroom cold-callingPick from a list of student names
Random sampleSeveral numbers with no repeats from a numbered list

With or without repeats

No repeats works like drawing numbered balls from a bag without putting them back, so each number can appear only once. This is what you want for raffles, lotteries and choosing people. Without this option, each number is chosen independently, like rolling a die several times, so the same number can come up more than once.

If you ask for more unique numbers than exist in your range, such as 11 different numbers between 1 and 10, the tool will tell you it isn't possible.

Tips for fair draws

  • Decide the rules first, such as the range and how many winners, before you generate.
  • Use one draw. Redrawing until you get a result you like isn't random.
  • Share your screen or record the draw if you're running a public giveaway, for transparency.
  • Check local rules for official prize draws or lotteries, which may have legal requirements.

Frequently asked questions

How do I pick a random number between 1 and 100?

Enter 1 as the minimum and 100 as the maximum, set "How many numbers" to 1, and press Generate.

Can I generate random numbers without repeats?

Yes. Tick "No repeats" and every number in the result will be different, like drawing from a bag without replacement.

How do I pick a random name from a list?

Choose "Pick from a list", enter your names one per line or separated by commas, and press Generate. You can pick one winner or several in random order.

Is this random number generator fair?

Yes. It uses your browser's secure random number generator with a method that gives every value in your range an equal chance.

Can I generate decimal numbers?

Yes. Set the number of decimal places from 1 to 6, and the generator will create numbers with that precision within your range.

Scroll to Top