Skip to main content

Random Number Generator

Generate random numbers between any range. Choose how many numbers to generate and whether to allow duplicates.

Example: Generate 5 numbers between 1 and 100 → [23, 67, 12, 89, 45]

What this tool does

The random number generator produces random whole numbers within a range you choose. You can generate a single number or many at once, and decide whether duplicates are allowed.

How to use it

  1. Enter the minimum and maximum of your range.
  2. Choose how many numbers to generate.
  3. Toggle whether duplicates are allowed.
  4. Generate to see the numbers, including a sorted view.

Popular uses

How random is it?

The tool uses the browser's built-in random function, which is suitable for games, draws and everyday randomness. It is not intended for cryptographic security or official lotteries — for security-grade randomness, use a dedicated cryptographic generator.

With or without duplicates

Allowing duplicates means the same number can appear more than once (like rolling dice). Disallowing duplicates gives unique numbers (like drawing raffle tickets), so the count can't exceed the size of the range.

Frequently Asked Questions

Can I generate numbers without duplicates?
Yes. Turn off duplicates to get unique numbers, ideal for raffles. The count then can't exceed the size of your range.
Is this suitable for official lotteries?
No. It uses standard browser randomness for everyday use, not the certified, cryptographic randomness official draws require.
Can I set my own minimum and maximum?
Yes. Enter any minimum and maximum and the generator will pick numbers within that inclusive range.
Does this tool store my data?
No. Everything runs entirely in your browser. Nothing you enter is uploaded, saved, or shared.