Generators

Random Number Generator

Pick random integers from a range - dice, lotteries, sampling.

Range and count

Numbers

53, 84, 44, 79, 21

About this tool

Specify a min, max, and how many numbers you want. Choose 'with' or 'without' duplicates. Backed by window.crypto.getRandomValues for unbiased, cryptographically random integers - no Math.random skew.

FAQs

How is bias avoided?

We use rejection sampling on top of crypto.getRandomValues so every integer in your range has exactly equal probability - no modulo bias.

What's the largest range supported?

Up to JavaScript's safe-integer limit (~9 × 10^15). Practical use is far smaller; the UI caps at sensible numbers.

Can I get them sorted?

Yes - there's an option to sort the output ascending. Off by default to preserve drawing order.

Other tools