BobaTools

Random pickers

Random Number Generator

Enter a range and how many numbers you need, then press Generate. Use it to draw ticket numbers, set an order or pick a random question.

Common ranges

Result

Press Generate

History

Nothing yet

Runs entirely in your browser. Nothing you type is uploaded.

Key points

  • The BobaTools random number generator produces 1 to 1,000 random whole numbers at a time, between a minimum and maximum you choose.
  • The range on the BobaTools random number generator includes both ends: with 1 to 10, both 1 and 10 can come up.
  • With No repeats turned on, every number in the result is different, which suits drawing ticket or seat numbers.
  • Each whole number in the range has the same chance. The BobaTools random number generator uses the browser's cryptographic random generator (crypto.getRandomValues).
  • The minimum and maximum can be negative, and they can be at most 1,000,000,000 apart.

How do you use the random number generator?

  1. 01Enter a minimum and a maximum, or tap one of the common ranges such as 1–10 or 1–100.
  2. 02Enter how many numbers you want.
  3. 03Turn on No repeats if every number has to be different.
  4. 04Press Generate. The result appears beside the settings, with a button to copy it.

Are the numbers really random?

They are as random as a browser can make them. The tool uses the browser's cryptographic random generator (crypto.getRandomValues), which is harder to predict than Math.random, the function most web pages use. You can't work out the next number from the ones before it.

Every whole number in the range has the same chance. The tool also corrects the small bias that appears when random values are reduced to a range with a remainder, so no number comes up slightly more often than the rest.

It is still software running on your device. For a lottery with legal requirements or for scientific sampling that must be auditable, use a method that your rules accept.

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

Tap the 1–100 range, leave the quantity at 1, and press Generate. Both 1 and 100 can come up, and each of the 100 numbers has a 1% chance.

The same works for any range. For 1 to 10, tap 1–10. For a range that isn't listed, such as 1 to 13 or 50 to 75, type the two ends yourself.

When should you turn on No repeats?

Turn it on to draw ticket numbers, seat numbers or an order, so that no number appears twice. Drawing 5 numbers from 1 to 30 with no repeats gives you 5 different people.

Leave it off to imitate dice rolls or to make test data. Each number is then drawn on its own, and the same number can appear many times.

With No repeats on, you can't ask for more numbers than the range contains. The range 1 to 10 holds 10 numbers, so 10 is the most you can generate.

Can you use it to pick lottery numbers?

Yes, as a quick pick. For a game where you choose 6 numbers from 1 to 49, set the range to 1–49 and the quantity to 6, and turn on No repeats and Sort low to high. Change the range and quantity to match your own lottery.

Random numbers do not improve your odds. Every combination has the same chance of winning. The tool only saves you from choosing the numbers yourself.

Can it generate decimals or very large numbers?

It generates whole numbers only. If you need decimals, widen the range and divide afterwards: generate a whole number from 0 to 100 and divide by 100 to get a value from 0.00 to 1.00.

The minimum and maximum can be negative, for example -10 to 10, but they can be at most 1,000,000,000 apart. Past that, the page asks you to narrow the range.

Random number generator, name picker, dice or wheel?

  • Random number generator: the result is a number. Use it for ticket, seat or ID numbers.
  • Random name picker: the result is a name. Paste the list and draw from it directly.
  • Dice roller: the range is fixed at 1 to the number of sides, and it adds up several dice for you.
  • Wheel spinner: for a short list of options when you want to watch the spin.

Frequently asked questions

How many numbers can I generate at once?
Up to 1,000.
Does the range include the minimum and maximum?
Yes. With 1 to 100, both 1 and 100 can come up.
Can it generate negative numbers?
Yes. Both the minimum and the maximum can be negative, for example -10 to 10.
Why is the Generate button greyed out?
A setting is invalid, and the reason is shown above the button. The usual causes are a maximum below the minimum, or asking for more numbers without repeats than the range contains.
Are my results saved anywhere?
They are not sent to a server. The page keeps the last 10 results and clears them when you close the tab.
Is the random number generator free? Do I need an account?
It is free and needs no account. Open the page and use it.

Related tools