Asistente RD

Lottery number generator

Generate random lottery combinations: pick how many numbers, the range and whether repeats are allowed. Cryptographic randomness, up to 10 lines.

Free · No sign-up · In your browser

Quick formats

Off: no repeats, sorted from lowest to highest.

A second drum, always without repeats. Set 0 if you do not need it.

Your numbers

Pick a format and press Generate numbers.

Numbers are 100% random, generated in your browser with crypto.getRandomValues and rejection sampling (no bias). It is pure chance: it does not guarantee any prize.

Share on WhatsApp Last reviewed: July 9, 2026

What this lottery number generator does

This lottery number generator builds random combinations so you never have to agonize over which numbers to play. You tell it how many numbers you want (say 6), how high the draw goes (say 49) and whether a number may repeat. Press Generate and your line appears instantly, sorted from lowest to highest. You can ask for several lines at once, copy them all and reroll as many times as you like.

Everything runs inside your browser: no accounts, no installs, no data leaving your device. It is the cleanest way to let chance decide, without scraps of paper, cluttered apps or ad-heavy websites.

How to use it

  1. Pick a quick format (like 6/49) or set the fields by hand.
  2. Adjust how many numbers and the range (from 1 up to the number you choose).
  3. Leave no repeats for a classic line, or switch on “allow repeats” if your game permits it.
  4. If your format uses a second drum (the “stars”), set how many extras and their own range.
  5. Choose how many lines you want (1 to 10) and press Generate numbers.

Main numbers show up in white and the extras in gold, so you can tell the two drums apart at a glance.

How the randomness works

A draw is only fair if every ball has the same chance. That is why this tool avoids Math.random() and uses crypto.getRandomValues, the browser’s cryptographically secure generator, together with rejection sampling: whenever a value would land in the small “leftover” that creates bias, it is thrown away and another is drawn. Every number, first to last, gets exactly the same odds.

When you ask for numbers without repeats, the tool keeps drawing balls and discards any it has already seen until your line is full, just like a real drum that never returns a ball. When repeats are allowed, each position is drawn independently.

Common formats

These are generic by their numbers/range structure, not specific lotteries:

FormatNumbersRangeExtra
6/4961–49
6/4261–42
5/50 + 251–502 stars (1–12)
5/69 + 151–691 extra (1–26)
4/3541–35

Example

Say you want a 6/49 line. You set how many numbers to 6, the range to 49 and leave the repeats box off. Press Generate and you might see:

3 — 11 — 24 — 30 — 38 — 45

All six numbers are different, sit between 1 and 49 and come out sorted. Ask for 5 lines at once and you get five independent rows, each with its own combination, ready to copy in one go.

Frequently asked questions

Are the numbers truly random?

Yes. They come from crypto.getRandomValues, the same randomness source security keys rely on, and modulo bias is removed with rejection sampling. No combination is favored, and the result cannot be predicted or steered on purpose.

Does it guarantee a lottery win?

No, and be wary of anyone who claims otherwise. Every combination is as likely as any other, and this generator simply picks one at random for you. It helps you decide fast and without bias, but it does not change your odds of winning.

Can I generate several lines at once?

Yes, from 1 to 10 lines in a single tap. Each line is independent, so two lines might share a number between them; what never happens (with the box off) is the same number repeating inside a single line.

What if I ask for more numbers than the range?

If you ask for, say, 8 numbers from 1 to 5 with no repeats, it is impossible: there aren’t eight distinct values available. The tool warns you with a message and won’t generate until you lower the count or raise the range.

What are the extra numbers for?

Many formats add a separate second drum (sometimes called “stars”). The extra field lets you choose how many to draw and from which range; they always come out without repeats and appear in gold so they don’t get mixed up with the main numbers.

Related tools