Navigation

Random Number Generator

Generate a batch of random whole numbers.

Generate up to 1,000 whole numbers per batch. Ranges may contain up to 4,294,967,296 values.

Share

How to use

Choose an inclusive range, quantity, duplicates and sorting, then generate a batch.

1

Set your range

Enter safe whole-number minimum and maximum bounds. The inclusive range can contain at most 2³² possible values. For a dice roll, choose 1 through 6.

2

Choose how many numbers

Choose 1 to 1,000 results. For unique numbers, the requested count must fit in the range; invalid requests show an error instead of a partial result. These are application guardrails.

3

Copy your results

View the generated numbers and copy them to your clipboard. The random number generator can also sort results in ascending order, making it easy to use for lottery tickets, contest winners, or random assignments.

Limits and questions

Inputs are processed in your browser. Analytics and advertising can make separate network requests.

Frequently asked questions

How are the random values generated?
The browser's Crypto.getRandomValues supplies cryptographically strong pseudorandom bytes. Rejection sampling avoids modulo bias within the supported range. This is not a physical true-random source or a lottery prediction tool.
Can the random number generator be used for lottery number selection?
Yes, the random number generator is perfect for lottery number picks. Set the range to match your lottery's number pool (e.g., 1-69), enable unique numbers, and generate your set of random picks instantly.