Home › Generators › Random Number Generator

Random Number Generator

Need a raffle winner, a lottery-style draw, a sample for a spreadsheet or just an unbiased pick? Set the range and how many numbers you want, and this generator draws them using your browser’s secure random source. Tick “no duplicates” when every number in the draw must be different.

How to use

  1. Set the smallest and largest values allowed.
  2. Say how many numbers to draw, and whether duplicates are allowed.
  3. Press “Generate numbers” — press again for a fresh draw.

Frequently asked questions

Are the numbers truly random?

They are drawn with the Web Crypto API, which provides cryptographically secure randomness — suitable for games, draws and sampling, and not predictable from previous results.

Why did I get an error with “no duplicates” on?

A unique draw cannot contain more numbers than the range holds. Drawing 10 unique numbers needs a range of at least 10 values (for example 1 to 10).

Can I generate decimal numbers?

This tool generates whole numbers (integers), which is what draws, dice and sampling usually need.