Random Number Generator

Pick a number

Random Number Generator

Set a range and hit generate.

How the random number generator works

Set the lowest and highest numbers you want, choose how many to draw, and hit generate. The result counts up and settles on a number picked from your browser’s cryptographic random source, with the range mapped so that no value in it comes up more often than its neighbours — a detail naive implementations get wrong at the edges.

Need more than one? Raise the count and the generator returns a whole set at once. Turn off “allow duplicates” and every number in the batch is distinct — handy for drawing lottery-style picks or seating positions without repeats.

Where a number generator earns its keep

Raffles and giveaways: assign each entrant a number and draw the winners. Games: roll for damage, pick a starting player, generate a secret code. Teachers and trainers: choose a page, a problem, or a group at random. Anywhere you’d reach for a hat full of folded paper, this is faster and nobody can peek.

Picking from a list of names or options instead of a range? The wheel of names and the spin wheel draw from your own entries, the random letter generator draws letters instead of numbers, and the coin flip settles a straight two-way call.

Genuinely uniform, no bias

Every number in your range has exactly the same chance on every draw. The generator uses rejection sampling over the cryptographic source, which removes the subtle skew toward smaller numbers that a naïve “remainder” approach introduces. Past draws never influence the next one — a run of low numbers doesn’t make a high one “due”.

FAQ

Is the random number generator truly random?

Yes. Each number is drawn from the browser’s cryptographic random source (crypto.getRandomValues) using rejection sampling, so every value in your range is exactly equally likely. There is no seed you can predict and no pattern that repeats.

What range of numbers can I generate?

Any whole numbers between −1,000,000,000 and 1,000,000,000, as long as the minimum is not greater than the maximum. Negative ranges work too — set min to −10 and max to 10, for example.

Can I generate several numbers at once?

Yes. Set “how many” up to 100 and the generator returns the whole set. Leave “allow duplicates” on for independent draws, or turn it off to get distinct numbers with no repeats.

How do I draw numbers without repeats?

Turn off “allow duplicates” before generating. Every number in the batch will then be unique — useful for lottery-style draws or assigning positions. The count can’t exceed how many numbers fit in your range.

Do I need to install or sign up for anything?

No. It runs free in any modern browser on phone, tablet, or desktop, with no app, account, or sign-up.