➗ Random Number Generator

Pick one or more random numbers between a minimum and a maximum. Handy for draws, raffles, games and classroom picks.

Random number generator

Uses your browser's secure random generator

Advertisement

Quick examples

  • Roll a die: minimum 1, maximum 6, how many 1.
  • Lottery numbers: for example minimum 1, maximum 49, how many 6, no duplicates, sorted.
  • Pick a winner: number your entries, then pick one number between 1 and the number of entries.
  • Coin flip: 1 to 2, where 1 is heads and 2 is tails.

Is it really random?

The numbers come from crypto.getRandomValues, the cryptographically secure random generator in your browser, and every number in the range has exactly the same chance.

Frequently asked questions

Can I use this for a raffle or giveaway?

Yes. Give every participant a number, set the range and pick as many winners as you need with "No duplicates" turned on.

Are the minimum and maximum included?

Yes. With 1 to 10, both 1 and 10 can be picked.

How many numbers can I generate at once?

Up to 1,000 numbers in one go.