Random Number Generator — Free

Generate random numbers in any range, with optional no-repeats. 100% in your browser — free, no sign-up.

How to

  1. 1Set the minimum and maximum, and how many numbers you need.
  2. 2Optionally turn on no-repeats for unique values.
  3. 3Click Generate and copy the result.

What does it do?

It picks random whole numbers between a minimum and maximum you choose. You can draw a single number or many at once, and optionally require that every number is unique — useful for draws where the same value should not appear twice.

How the numbers are generated

Numbers come from your browser's cryptographically secure randomness (crypto.getRandomValues) with rejection sampling, so each value in your range is equally likely and there is no bias toward any number. Everything runs on your device — nothing is sent anywhere.

When to use it

Run a giveaway or raffle draw, pick a winner from a numbered list, choose a random sample, roll dice or simulate chance, or generate test data. The no-repeats option is ideal for lotteries and unique seat or ticket draws.

Fairness and bias

Naively taking a random value modulo the range size slightly favours some numbers. This tool uses rejection sampling to discard out-of-range draws, so every number in your chosen range has an exactly equal chance — a genuinely fair draw.

FAQ

Is the result truly random?+

It uses your browser's cryptographically secure randomness with rejection sampling, so every number in your range has an equal chance — a fair, unbiased draw.

Can I get numbers without repeats?+

Yes. Turn on no-repeats to draw unique values — ideal for raffles, lotteries, and unique ticket or seat draws.

How many numbers can I generate at once?+

From one up to a thousand at a time, within any minimum and maximum you choose.

Is my data sent anywhere?+

No. Numbers are generated in your browser and nothing is sent over the network.

Is it free?+

Yes, completely free — no sign-up and no watermark.

Is my data private?+

Yes — this tool runs entirely in your browser. Your files and text are never uploaded.

Related tools

Also available for AI agents:Markdown ·JSON