Random Number Generator

Set your range, choose how many random numbers to draw, and decide whether repeats are allowed.

Set the range

Type the lowest and highest number, for example 1 and 100. Ask for one number or a set of numbers; turn off repeats to get unique numbers, such as for a raffle or a lottery-style draw.

The generator shows a single result on number reels or several results together. To watch a wheel spin, open the ready-made 1 to 10 or 1 to 100 number wheel.

How the numbers are picked

Numbers come from your browser's crypto.getRandomValues with rejection sampling, so every number in the range has exactly the same chance. Nothing is predictable from earlier results.

Popular ranges have their own pages: 1 to 10 and 1 to 100.

Questions

Can I get several numbers at once?

Yes. Set how many you need.

Can I avoid duplicates?

Yes. Turn off repeats to get unique numbers.

Can I use negative numbers?

Yes, as long as from is lower than to.

Is it truly random?

It uses the cryptographic random generator built into your browser, the same source used for security keys.