quialo.

Random Number Generator

Set a range and a count, then select Generate.

Generate random whole numbers between a minimum and a maximum that you choose. Set how many numbers you want and turn on unique values when you need each one to be different (handy for raffles, picking winners, or sampling without repeats). Everything runs in your browser using your device's secure randomness, so nothing is sent to a server.

How to use

  1. Enter the minimum and maximum values for your range.
  2. Set how many numbers you want under How many.
  3. Turn on Unique values only if you need every number to be different.
  4. Select Generate to produce your numbers.
  5. Use Copy to copy the results, or Reset to start over.

Examples

  • A single dice roll: min 1, max 6, count 1 returns a value like 4.
  • Six lottery numbers: min 1, max 49, count 6 with unique values on returns six distinct numbers like 3, 17, 22, 31, 40, 45.
  • Ten coin flips: min 0, max 1, count 10 returns a string of zeros and ones like 1, 0, 0, 1, 1, 0, 1, 0, 0, 1.

FAQs

Are the numbers truly random?
They use crypto.getRandomValues, the browser's cryptographically secure random source. That is far stronger than Math.random and is suitable for raffles, sampling, and picking winners.
What does unique values do?
With unique on, every number in the result is different. The tool checks that enough distinct values fit your range first. For example you cannot ask for 5 unique numbers between 1 and 3, since only 3 exist.
Are min and max included in the range?
Yes. Both ends are inclusive. A range of 1 to 6 can return 1, 6, or anything in between.
Can I use negative numbers?
Yes. You can set the minimum below zero, for example min of -10 and max of 10. The minimum just has to be less than or equal to the maximum.
Is anything sent to a server?
No. All generation happens locally in your browser. Your range and results never leave your device.
How many numbers can I generate at once?
Up to 100,000 in a single request. If you need a unique set, the count also has to fit within the size of your range.

Related tools