Skip to content

Random Number Generator

Random number generator draws integers between inclusive minimum and maximum values using browser Web Crypto. Request repeated independent draws or a sample without replacement.

Found a problem, or something that could be better? We read every message and we fix things quickly.

Random number generator draws integers between inclusive minimum and maximum values using browser Web Crypto. Request repeated independent draws or a sample without replacement.

Ranges can extend from −1,000,000,000 to 1,000,000,000, with up to 1,000 results. Rejection sampling avoids modulo bias; uniqueness uses a sparse shuffle rather than retrying near exhaustion.

How to use

  1. Enter inclusive minimum and maximum integers.
  2. Choose result count and whether repeats are allowed.
  3. Generate, inspect all draws and download TXT or CSV.

Frequently asked questions

Can the endpoints appear?

Yes. Both minimum and maximum are included. A range whose endpoints are equal returns that one value.

How does no repeats work?

It samples without replacement. The requested count cannot exceed the number of possible integers.

Is Math.random used?

No. The shared sampler uses crypto.getRandomValues and rejects values that would cause modulo bias.

Is this certified for gambling?

No. It is a local drawing utility, not an independently certified gaming service or an auditable public lottery system.

Unbiased integer draws

The sampler discards the uneven tail of a 32-bit random range before applying the modulus. That prevents some integers having extra representations.

For unique draws, a sparse partial Fisher–Yates shuffle keeps memory proportional to the requested sample, not the full range.

Interpreting random samples

Repeated values and uneven short runs are normal in independent draws. An equal-probability generator does not promise evenly balanced results in a small sample.

CSV records numeric draws in generation order. There is no public seed, shared draw history or persistent verification log.