Lottery Number Generator

Last updated: 2026-06-25

TL;DR

This lottery number generator picks 6 unique numbers from 1-45 using the browser's cryptographically secure random source (crypto), with no duplicates, shown in ascending order.

Generate 1 to 5 lines at once and copy the number combinations.

Generate numbers

A single 6/45 lottery ticket typically allows up to 5 lines.

How to use

  1. Choose the number of lines — select how many lines (1-5) to generate at once.
  2. Generate numbers — press Generate to draw 6 unique numbers from 1-45 for each line.
  3. Copy — use the Copy button to copy all generated combinations at once.

How the generator works and the odds

A 6/45 lottery asks you to match 6 distinct numbers chosen from 1 to 45. This generator draws one number at a time from a pool of 1-45 and removes it from the pool, so the 6 picks are always unique. Randomness comes from crypto.getRandomValues, which is harder to predict and less biased than the ordinary Math.random.

6/45 lottery odds
TierConditionOdds (approx.)
1stAll 6 numbers match1 / 8,145,060
2nd5 numbers + bonus match1 / 1,357,510
3rd5 numbers match1 / 35,724
4th4 numbers match1 / 733
5th3 numbers match1 / 45

Every combination has the same odds, and a number that came up often in the past is no more likely to come up next (independent trials). This tool is a fun, convenient number generator and does not guarantee a win. Always buy and check tickets through your official lottery operator.

Frequently asked questions (FAQ)

How are the lottery numbers generated?

Six numbers are drawn at random from 1 to 45 with no duplicates. The browser's cryptographically secure random generator (crypto.getRandomValues) is used to make the draw hard to predict and fair, and the numbers are shown in ascending order.

Can I generate multiple lines at once?

Yes. Choose between 1 and 5 lines, and each line gets its own independent set of 6 numbers. A single 6/45 lottery ticket typically allows up to 5 lines.

Do these numbers guarantee a win?

No. The lottery is a fully random draw, so every combination has the same odds (about 1 in 8.1 million for the jackpot). This tool is a fun, convenient number generator and does not guarantee any win.

Are the numbers stored on a server?

No. All numbers are generated only in your browser and are never sent to or stored on a server. They disappear when you refresh the page.

Last updated: 2026-06-25