Random Number Generator
Generate random numbers in a range.
Your numbers are generated in your browser.
Generate numbers to see the results.
Results
0 / 100Generate 1–100 random integers in an inclusive range. Allow repeats or choose unique values, then copy the results directly from your browser.
How to use it
- Set the minimum and the maximum of the range.
- Choose how many numbers you want.
- Turn on the no-duplicates option if each number must be unique.
- Select Generate and copy the results.
How random number generation works
Use random integers to choose a position in a numbered list, create game values or explore probability. Set the range before generating; the output keeps draw order rather than sorting the numbers.
Inclusive ranges
Both ends are included. The number of possible values is maximum − minimum + 1. If both bounds are equal, only that value can appear.
For example, the range −2 to 2 contains five integers: −2, −1, 0, 1 and 2. With repeats allowed, a request for five numbers may contain the same value several times.
With or without repeats
Without the unique option, each draw can repeat earlier values. With it enabled, values are selected without replacement within the current batch, so the quantity cannot exceed the range size. A later generation starts fresh and may repeat values from an earlier batch.
Where the randomness comes from
The tool uses the browser’s Web Crypto generator and rejection sampling to avoid bias when mapping values to the requested range. If randomness is unavailable, it reports an error rather than switching to a weaker source. A range with one possible value is deterministic.
Generate up to 100 integers at a time, with bounds from −9007199254740991 to 9007199254740991. Decimals and scientific notation are not supported. Results stay on this page, without saved history. This is not a password/key generator or a certified prize-draw system.
Frequently asked questions
Are the numbers truly random?
The tool uses the browser’s Web Crypto generator and rejection sampling to avoid bias when mapping values to the requested range. If randomness is unavailable, it reports an error rather than switching to a weaker source. A range with one possible value is deterministic.
Are the bounds included?
Both ends are included. The number of possible values is maximum − minimum + 1. If both bounds are equal, only that value can appear.
Why can I not get unique numbers?
Without the unique option, each draw can repeat earlier values. With it enabled, values are selected without replacement within the current batch, so the quantity cannot exceed the range size. A later generation starts fresh and may repeat values from an earlier batch.
What limits apply?
Generate up to 100 integers at a time, with bounds from −9007199254740991 to 9007199254740991. Decimals and scientific notation are not supported. Results stay on this page, without saved history. This is not a password/key generator or a certified prize-draw system.