1. Home
  2. Random & Picker
  3. Random Number Generator

Random Number Generator

Set a range and a count, and get fair random numbers right away.

For every format and option in one place, use Random Picker →

Runs in your browser · No upload
1–10,000
Presets
Your number
-
Integers from 1 to 100, generated with crypto.getRandomValues()

How to use

  1. Set the Min and Max, then How many numbers you want. A new draw appears as soon as you change anything.
  2. Turn on No repeats when every number has to be different, for example for raffles, prize draws or picking an order.
  3. Choose Decimals to get numbers like 0.37, and set the number of decimal places. Results can stay in the order they were drawn or be sorted.
  4. Generate again draws a new set with the same settings. The copy button copies the result, separated by new lines, commas or spaces.

How the numbers stay fair

Step Method
Random source crypto.getRandomValues(), the browser’s cryptographic generator, also used for passwords
Fitting the range Simple remainder math slightly favors low numbers, so values from the leftover zone are thrown away and drawn again (rejection sampling)
No repeats Robert Floyd’s sampling algorithm picks distinct numbers, then a Fisher–Yates shuffle randomizes their order
Decimals With two places, every value from 0.00 to 1.00 has exactly the same chance, because the draw is made in whole hundredths

Examples

  • 1 to 6, one number: the same as rolling a die. Each face has a 1 in 6 chance.
  • 1 to 100, one number: the classic “pick a number” for games and giveaways.
  • 1 to 30, 30 numbers, no repeats: a random order for presentations or seating.
  • 0 to 1 with two decimal places: one of 101 equally likely values.

Things to keep in mind

  • If the ends of your range don’t match the decimal places you chose, the range is narrowed inward. For example, integers between 1.5 and 4.5 are drawn from 2 to 4.
  • For prize draws where you need proof, take a screenshot of the result. Nothing is saved.
  • To roll several dice and see the totals, use the dice roller. For secure passwords, use the password generator.

FAQ

Is it a bug if the same number comes up twice in a row?

No. Without No repeats, each number is drawn independently, so repeats happen. When drawing from 1 to 10, there’s a 10% chance the next number matches the last one.

How many numbers can I generate at once?

Up to 10,000. With no repeats, you can’t draw more numbers than the range contains.

Are the numbers sent anywhere?

No. They’re generated in your browser on this device and are never sent anywhere or stored.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.