Random Number Generator

Generate one or many random numbers within any range, with or without repeats. Great for raffles, games, and picking winners.

Generates random whole numbers in your range. Numbers are produced in your browser. Not suitable for cryptographic or security use.

How to use this generator

Enter a minimum and maximum, set how many numbers you need, choose whether repeats are allowed, and press Generate. Generate again any time for a fresh set.

How it works

Each number is drawn uniformly from your range, so every value is equally likely. In unique mode the generator shuffles the full range and takes the first few, guaranteeing no duplicates.

Common uses

Raffles and giveaways · choosing a winner · lottery-style picks · random sampling · deciding who goes first · classroom games.

Uses your browser's standard randomness — not for cryptographic or security purposes.

Frequently asked questions

How do I generate a random number?

Set a minimum and maximum, choose how many numbers you want, and press Generate. You'll get random whole numbers within your range.

Can I generate numbers without repeats?

Yes. Switch to 'Unique' to draw numbers with no duplicates — useful for raffles, lotteries, or picking distinct items. The count can't exceed the size of the range.

Is it truly random?

It uses your browser's built-in random function, which is fine for picking winners, games, and everyday choices. It is not cryptographically secure and shouldn't be used for passwords or security keys.

What can I use it for?

Raffles and giveaways, choosing a winner, picking lottery-style numbers, deciding turns, sampling, classroom activities, and breaking ties.

Related calculators