Random Number Generator

Generate random integers in any range — cryptographically secure, nothing uploaded.


Generate random integers in any range

Enter a minimum and maximum, pick how many numbers you want, and press Generate. The generator uses the browser's cryptographic random source (crypto.getRandomValues) with rejection sampling to eliminate modulo bias, so the distribution is as uniform as the underlying hardware allows. Enable Unique to get a list with no repeated values — the count is automatically capped at the size of the range. Everything runs locally; no data is sent anywhere.

Common uses include picking lottery numbers, assigning random IDs, sampling test data, rolling dice, or selecting random participants from a list.

FAQ

Are the numbers truly random? They are cryptographically random, seeded from the operating system's entropy source — the same source used for cryptographic keys. This is far stronger than Math.random(), which is only pseudo-random.

What does "Unique" do? When checked, each generated number appears at most once. If you request more numbers than the range contains, the count is silently reduced to the range size.

What is the maximum count? Up to 1000 numbers per generation.

Related tools

Popular tools