Random Number Generator
Generate random numbers between any two values.
How to use the Random Number Generator
- Set the minimum and maximum.
- Choose how many numbers to pick.
- Click Generate.
About the Random Number Generator
Set a minimum and maximum, choose how many numbers you want, and each is drawn independently from inside your range. Both ends are included — 1 to 100 can return 1 and can return 100. The bounds are read as whole numbers, so every result is an integer, and you can pull up to 100 at once. Enter the bounds the wrong way round and the tool quietly swaps them.
This generator uses Math.random(), which is a real limit worth stating plainly. It is pseudo-random: a deterministic algorithm producing a stream that looks and behaves like randomness for any everyday purpose — raffles, dice, picking a winner, shuffling test data. It is perfectly good for those. It is not suitable for anything security-related, because its output can in principle be predicted from its internal state. For passwords, keys or tokens use the password generator, which draws on the browser’s cryptographically secure source instead.
One thing that surprises people: streaks and repeats are normal. Because each draw is independent, ten numbers between 1 and 10 will usually contain duplicates and miss some values entirely. That is what independence means, not a fault in the generator. Random data looks clumpier than intuition expects; it evens out over the long run, not over ten picks. If you need every value exactly once, you want a shuffle, not repeated draws.
Frequently asked questions
Are the minimum and maximum included?
Yes, both bounds are inclusive. A range of 1 to 100 can return both 1 and 100.
Can I get the same number twice?
Yes. Each number is drawn independently, so duplicates and short streaks are normal and expected. If you need unique values, remove duplicates afterwards or shuffle a list instead.
Are the numbers truly random?
No, they are pseudo-random. A deterministic algorithm produces a sequence that looks and behaves like randomness for everyday purposes such as games, draws and test data. That is fine for those uses and not fine for security.
Can I use this for passwords or security tokens?
No. This tool uses Math.random(), which is predictable in principle. Use the password generator for anything security-related, as it uses the browser cryptographically secure random source.
Can it generate decimals?
No. The minimum and maximum are read as whole numbers and every result is an integer.

