Random Number Generator

Generate random numbers in any range, with or without repeats. Secure and fair — for draws and games. Free.

50 free uses every 24 hoursUnlimited with Pro →

Private by design — your data stays on your deviceEverything runs right here in your browser. What you type is not sent to our server and is not stored.
  • Runs in your browser
  • Not stored
  • No sign-up

This random number generator picks one or many numbers between a minimum and maximum you choose. You can allow repeats or switch them off. It suits anyone running a lucky draw, playing a game, or choosing a random sample, and it is free to use.

How do you generate a random number?

  1. Enter your minimum number. This is the lowest value that can come up.
  2. Enter your maximum number. This is the highest value that can come up.
  3. Set the count, which is how many numbers you want in one go.
  4. Choose whether repeats are allowed. Turn on the no repeats option if every number must be different.
  5. Click Generate. Your numbers appear straight away.
How to use the Random Number Generator on OneHubTools: 5 steps with a real screenshot of the tool
How to use the Random Number Generator, step by step.

Need to go a step further? The Spin the Wheel and the Coin Flip & Dice Roller work the same way, right in your browser.

Want a different result? Click Generate again. Each click gives a fresh set.

What is a random number generator good for?

People use a number picker for far more than games. Here are the most common jobs.

  • Lucky draws and giveaways. Give every entrant a number, then generate the winning ones. Switch off repeats so nobody wins twice.
  • Games. Roll a number for a board game, a quiz round or a guessing game. A range of 1 to 6 works like a die. A range of 1 to 20 works like a larger one.
  • Random samples. Number your list of customers, survey replies or students. Then pick a handful at random so you are not choosing by hand.
  • Fair decisions. Settle who goes first, who cleans up, or which option wins.
  • Classroom use. Call on students in a random order, or hand out practice questions by number.
Result from the Random Number Generator on OneHubTools
What the Random Number Generator gives you.

Why is this generator fair?

The tool uses a cryptographically secure random generator. In plain terms, the numbers are not easy to predict, and no pattern favours one result over another. That matters when a prize is on the line and people want proof that nobody tipped the scales.

It also means you can stop worrying about "lucky" numbers. Seeing 7 twice in a row is normal in random results. It does not mean something is broken.

Repeats or no repeats: which should you pick?

This single setting changes your results more than anything else. Choose it based on what you are doing.

SettingWhat happensBest for
Repeats allowedThe same number can appear more than onceDice-style rolls, simulations, repeated tests
No repeatsEvery number in the set is differentLucky draws, raffles, picking winners, samples

Tips for better results

  • Match the range to your list. If you have 250 entries numbered from 1, set the minimum to 1 and the maximum to 250. A wider range creates numbers that belong to nobody.
  • Check your count against the range. You cannot pick 10 different numbers from a range of 1 to 5. With no repeats, the range must hold at least as many numbers as you ask for.
  • Generate a bulk set for a draw. If you need three winners, ask for three numbers at once with repeats off. That is simpler than running three separate draws and checking for duplicates.
  • Pick extra numbers as backups. In a giveaway, a winner sometimes does not reply. Draw a few spare numbers in the same run, in order, and use them if needed.
  • Decide the rules first. Agree on the range and the number of winners before you click Generate. It keeps the draw honest and avoids arguments.

Common problems and how to fix them

I keep getting the same number

With repeats allowed, this is normal, especially in a small range. Switch repeats off if you need different numbers every time.

The numbers fall outside my list

Check the minimum and maximum. Many mistakes come from starting at 0 when the list starts at 1, or the other way round.

My results do not look random

People expect random numbers to be evenly spread. Real random results often show clusters, streaks and repeats. That is what chance looks like.

I need a number for a quick choice

Set a small range, like 1 to 2 for a coin flip or 1 to 6 for a die. Set the count to 1 and click Generate.

A simple example: picking giveaway winners

Say 120 people entered your giveaway, numbered 1 to 120 in the order they signed up. You want three winners.

  1. Set the minimum to 1 and the maximum to 120.
  2. Set the count to 3.
  3. Turn on no repeats.
  4. Click Generate and match each number to its entrant.

That takes under a minute. If you share your screen or the settings, entrants can see how the draw was run.

Limits and specs

PriceFree
Free use50 uses every 24 hours — shared with 178 other tools in the “Basic tools” group
Where it runsIn your browser
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it in Chrome on a desktop computer.

Sources

According to Wikipedia, plain text contains only readable characters, with no formatting such as fonts or colours. Most text today is stored as UTF-8, which is used by over 98% of websites.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

Is this random number generator really random?

Yes, it uses a cryptographically secure random generator, so results are hard to predict and not biased toward any number. That makes it a good choice for fair draws and games.

Can I generate random numbers without repeats?

Yes, turn on the no repeats option before you click Generate. Every number in that set will be different, which is what you want for raffles and winner picks.

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

Set the minimum to 1, the maximum to 100 and the count to 1, then click Generate. Raise the count if you want several numbers at once.

Can I pick more than one number at a time?

Yes, set the count to the number of results you need. The bulk option gives you the whole set in a single click.

Can I use it for a lucky draw or giveaway?

Yes, it works well for lucky draws. Number your entries, set the range to match, turn off repeats and generate as many winning numbers as you need.

Is the random number generator free?

Yes, it is completely free to use on OneHubTools. You can generate as many sets as you like.