Random Number Generator

Generate random numbers within a range, single or batch, with or without repeats.

What is a Random Number Generator?

Generate random integers within a minimum and maximum range. Create a single number or multiple numbers, and choose whether repeats are allowed.

How to Generate Random Numbers

Follow these steps:

  • Enter the minimum and maximum values.
  • Choose how many numbers to generate.
  • Check or uncheck 'Allow repeats'.
  • Click generate to get your random numbers.

Tips

  • Use non-repeating numbers for raffles, draws, and unbiased sampling.
  • For cryptographic security, use the password generator instead.
  • The generator safely handles values in the billions.

Frequently Asked Questions

Are these numbers truly random?+
These numbers use JavaScript's Math.random(), which is a pseudorandom number generator (PRNG). It is suitable for games, simulations, and general purposes. For cryptographic use, try our password generator, which uses the Web Crypto API.
Can I generate numbers without repeats?+
Yes! Uncheck 'Allow repeats' to generate numbers without repetition. This uses the Fisher-Yates shuffle algorithm for unbiased selection. When repeats are disabled, the count is capped at the range size.
What is the maximum range supported?+
JavaScript can safely handle integers up to 9,007,199,254,740,991. In practice, any range within ±1 billion works perfectly.

Related Tools

Random Number Generator — free online random number generator, random number picker, generate random numbers, random integer generator, random numbers without repeats, random number tool. No signup required. Works in your browser.