Random Number Generator

Inputs

Results

Need a fair random number for a raffle, a game or a sample? Set the range and how many you want. Every number is equally likely.

How to use it

  1. Set the minimum and maximum.
  2. Choose how many numbers, and decimal places if you need them.
  3. Tick no repeats for a draw where each number can come up only once, and sort to put them in order.
  4. Press Generate for a new set.

Questions and answers

Is it really random?

It uses your browser’s cryptographic random generator, the same kind used for security keys, and avoids the small bias that simple methods introduce. Every number in the range is equally likely.

Can I use it for an official lottery or prize draw?

For fun draws among friends, yes. Official draws may have legal requirements about how the draw is done and witnessed.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
minLowest possible number.
maxHighest possible number.
countHow many numbers (1–1000).
decimalsDecimal places (0–6).
unique1 for no repeats.
sort1 to sort the result.

Example: https://toolabelle.com/random-number-generator/#min=1&max=49&count=6&decimals=0&unique=1&sort=1

Related tools