Random Number Generator

Pick one or many random numbers in any range — with an option for no repeats. Everything runs in your browser; nothing is sent anywhere.

Check your inputs — max must exceed min, and unique count can't exceed the range size.

Random result

How it works

Each number is drawn uniformly from the inclusive range you set, so every value between the minimum and maximum is equally likely. With "no repeats" enabled, drawn numbers are removed from the pool, which is what you want for raffles, random team assignments, or picking lottery-style numbers. The generator uses your device's built-in randomness — fast, private, and free.

value = min + floor(random × (max − min + 1))

Good uses (and one caution)

This is perfect for deciding who goes first, drawing a raffle winner, sampling rows from a list, rolling custom dice, or breaking a tie. One important limit: browser pseudo-randomness is not cryptographically secure — don't use it to generate passwords, security tokens, or anything real-money. For those, use a dedicated secure generator. For picking from named options rather than numbers, assign each option a number and draw one.

Frequently asked questions

How does a random number generator work?

It uses your browser's pseudo-random generator to pick uniformly within the range, on your device.

Can I generate numbers with no repeats?

Yes — enable "no repeats" for unique draws; count can't exceed the range size.

Is this suitable for security or gambling?

No — it's not cryptographically secure. Fine for games and draws only.

Related calculators

Last reviewed: July 2026.