Random Number Generator

Draw random numbers in any range — one or many, repeats allowed or not, using real randomness rather than a pattern.

tap draw

Fast, easy and free — your answer appears as you type, and whatever you enter stays on your device.

Draw a random number from any range — or a hundred of them, with or without repeats — using cryptographic randomness and bias-free sampling. A die, a coin, a raffle and a lottery machine in one box.

How to use it

  1. Set the rangeFrom and To, inclusive on both ends: 1 to 6 is a die, 1 to 2 a coin, 1 to 500 a raffle.
  2. How many, and repeats?Draw one or many; tick no-repeats for picking winners, where nobody may win twice.
  3. DrawEvery tap is a fresh draw. Copy takes the full list, comma- or line-separated.

One tool, many rituals

Nearly every fairness ritual reduces to drawing numbers from a range: dice, coins, raffles, secret-santa assignments, picking who presents first, sampling rows from a dataset. The parameters differ; the requirement is identical — every outcome equally likely, provably. This tool is that requirement implemented once, properly, with the range and repeat settings expressing the ritual.

Why "equally likely" needs engineering

Computers are deterministic, and casual randomness inherits subtle patterns: clock-seeded generators repeat, and the ubiquitous modulo trick tilts toward small numbers. The tilt is tiny — and tiny is still wrong when something is at stake, because bias compounds over draws and disputes hinge on process. Drawing from the cryptographic source and rejecting out-of-range values costs microseconds and removes the asterisk entirely. The same mechanics power the password generator next door; fairness and secrecy are the same property pointed at different problems.

Draws happen on your device and are kept by no one.

Questions people ask

Is this fair enough to pick a giveaway winner?

Yes — the draw uses your device's cryptographic random source with rejection sampling, so every number in the range is exactly equally likely, and no-repeats mode is a true partial shuffle. For public trust, draw on a screen recording: fairness people can watch beats fairness asserted.

What is modulo bias and why should I care?

The shortcut most quick implementations use — random number mod range — makes lower numbers slightly more likely whenever the range does not divide evenly into the generator's space. Usually fractions of a percent; still, a raffle should not have favourite tickets. Rejection sampling, used here, eliminates it exactly rather than approximately.

Can it replace dice for a board game?

1 to 6, count 2, repeats allowed — two dice per tap, fairer than most physical dice, which are measurably biased by their pips and edges. Count 4 rolls a D&D stat block.

How do I pick from a list of names?

Number the names, draw from 1 to N without repeats. For direct name-picking, paste the list into our sort-lines tool and use its shuffle — same underlying fairness, no numbering step.

Why does no-repeats refuse sometimes?

Drawing 20 distinct numbers from a range holding 10 is impossible, and the tool says so instead of hanging or quietly repeating. Impossible requests deserve error messages, not creative interpretations.

Are draws recorded anywhere?

No — drawn on your device, gone when you leave. If a draw needs an audit trail, the screen recording is the trail.