Skip to content

Random Number Generator

Pick one or many random numbers in any range, with or without repeats.

Quick:

Set a minimum and a maximum, choose how many numbers you want and press Generate. You can draw a single number for a giveaway, a list of unique numbers for a raffle or lottery, or thousands of values for testing, as whole numbers or with up to ten decimal places, and optionally sorted from smallest to largest.

Numbers come from crypto.getRandomValues, the cryptographically secure generator built into your browser, with rejection sampling so every value in the range is equally likely. That makes the results fairer than many simple generators that use Math.random. Nothing is sent to a server, and each draw is independent.

How to use the Random Number Generator tool

  1. Enter the Minimum and Maximum values (both are included).
  2. Set How many numbers you need.
  3. Choose whole numbers or decimals, and tick No duplicates for unique draws.
  4. Press Generate (or Enter). Copy or download the result.
  5. Use the quick buttons for 1–10, 1–100, a dice roll, a coin flip or a 6-of-49 lottery draw.

Why use ToolOrca Random Number Generator

  • Any range, including negative numbers
  • Up to 10,000 numbers per draw
  • Unique numbers option
  • Whole numbers or decimals
  • Cryptographically secure and unbiased
  • Sort, copy and download results

How fair is this random number generator?

Computers cannot produce truly random numbers on their own, so browsers collect unpredictable data from the operating system (hardware timings, noise sources) and feed it into a cryptographic generator. The result is unpredictable enough for passwords and encryption keys, which is far more than a raffle needs.

A common mistake when turning random bits into a range is the modulo bias, which makes some numbers slightly more likely. This tool discards out-of-range values and draws again, so each number has exactly the same chance.

Frequently asked questions

Are the minimum and maximum included?

Yes. A range of 1 to 10 can return both 1 and 10.

How do I pick random numbers without repeats?

Tick No duplicates. The count cannot be larger than the number of whole values in the range — for example at most 49 unique numbers between 1 and 49.

Can I use this to pick a winner for a giveaway?

Yes. Number your entries, set the range from 1 to the number of entries and generate one number. For transparency, record your screen while you draw.

Can I generate random decimals?

Yes. Choose Decimals and set between 1 and 10 decimal places.