Lottery Number Generator

Random lines for 18 lotteries by their official rules, with bonus balls and jackpot odds.

  • Official rules for 18 lotteries
  • Cryptographically secure
  • No ticket sales

Your lines

Up to 10 lines at a time. The lottery is chosen from your region first; pick another one from the list at any time.

Pick a lottery and press Generate.

How it works

Choose a lottery and how many lines you want. Each line follows that game’s official format: the right count of main numbers from the right range, with no repeats, plus the bonus ball or numbers drawn from their own pool, such as the Powerball, Mega Ball or EuroMillions Lucky Stars.

Numbers come from your browser’s cryptographically secure random generator (crypto.getRandomValues), with rejection sampling so every number in a pool is exactly equally likely. Everything runs on your device; nothing is sent or stored.

Supported lotteries and jackpot odds

LotteryWhereNumbers per lineJackpot odds
PowerballUnited States5 of 1–69 + 1 Powerball of 1–261 in 292,201,338
Mega MillionsUnited States5 of 1–70 + 1 Mega Ball of 1–241 in 290,472,336
EuroMillionsEurope5 of 1–50 + 2 Lucky Stars of 1–121 in 139,838,160
EurojackpotEurope5 of 1–50 + 2 Euro numbers of 1–121 in 139,838,160
Lotto 6/45South Korea6 of 1–451 in 8,145,060
Loto 6Japan6 of 1–431 in 6,096,454
Loto 7Japan7 of 1–371 in 10,295,472
Shuangseqiu (Double Color Ball)China6 of 1–33 + 1 blue ball of 1–161 in 17,721,088
Lotto 6aus49Germany6 of 1–49 + 1 Superzahl of 0–91 in 139,838,160
LotoFrance5 of 1–49 + 1 Lucky Number of 1–101 in 19,068,840
SuperEnalottoItaly6 of 1–901 in 622,614,630
La PrimitivaSpain6 of 1–49 + 1 Reintegro of 0–91 in 139,838,160
Mega-SenaBrazil6 of 1–601 in 50,063,860
PowerballAustralia7 of 1–35 + 1 Powerball of 1–201 in 134,490,400
Oz LottoAustralia7 of 1–471 in 62,891,499
Lotto 6/49Canada6 of 1–491 in 13,983,816

Jackpot odds are for one line matching every main and bonus number, worked out as combinations (n choose k) from the official rules. In Lotto 6aus49 the Superzahl is the last digit of the ticket number, and in La Primitiva the Reintegro is assigned to the ticket, so players do not choose them; six correct numbers alone win the second prize in 6aus49 (1 in 15,537,573) and the first prize in La Primitiva (1 in 13,983,816).

Past results do not change the odds

Each draw is independent. A number that came up last week is no more or less likely to come up again, and “hot” or “overdue” numbers have no effect on the next draw. Every combination, including 1-2-3-4-5-6, has the same chance as any other.

What you can influence is how many people share a prize. Popular patterns such as birthdays (numbers up to 31) and straight lines on the play slip are chosen by many players, so random lines are less likely to split a jackpot.

Where the recent Powerball and Mega Millions results come from

When you pick Powerball or Mega Millions, the latest ten draws are loaded from the New York State Gaming Commission’s open data on data.ny.gov, which publishes the winning numbers of both multi-state games. They are shown for reference only and can lag behind a draw; always check results with the official lottery or your ticket retailer.

Tips

  • Use “Sort numbers” to copy lines onto a play slip more easily; untick it to see the order in which they were drawn.
  • Rules change from time to time (Mega Millions moved to a 1–24 Mega Ball in April 2025). The rules line under the lottery links to the operator’s official page.
  • Set a fixed budget before you play and stick to it.

Play responsibly

This page is for entertainment only. It does not sell tickets, take bets or link to ticket sellers, and it cannot predict winning numbers. Lotteries are only for adults, usually 18 and over; the minimum age and the ways you may legally buy tickets depend on where you live.

The expected return of a lottery ticket is less than its price. If playing stops being fun, or you spend more than you planned, contact a gambling support service in your country.

Standards and sources

Last reviewed November 2, 2026

Frequently asked questions

Can a generator improve my chances of winning?

No. Every combination has exactly the same chance in a fair draw. A random line only avoids popular patterns, which can reduce the chance of sharing a prize if you do win.

What are the odds of winning the Powerball jackpot?

1 in 292,201,338 per line: 5 numbers from 1 to 69 (11,238,513 combinations) times 1 Powerball from 1 to 26. For Mega Millions it is 1 in 290,472,336.

Are the numbers really random?

Yes. They come from the Web Crypto API (crypto.getRandomValues), the secure random source browsers use for encryption, and each number in a pool is equally likely.

Where do the latest Powerball and Mega Millions results come from?

From the New York State Gaming Commission’s open data on data.ny.gov. They are for reference only; confirm results with the official lottery.

Can I buy tickets here?

No. This page only generates numbers for entertainment. It does not sell tickets or link to ticket sellers. Lotteries are for adults only, and where you may buy tickets depends on local law.

Related tags

Other tools

Results are for reference only. Calculations may be wrong and are not legal, medical or financial advice. Always confirm with the relevant authority or a professional before important decisions.

Search