Lottery Number Generator
Last updated: 2026-06-25
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
Generated lottery numbers
How to use
- Choose the number of lines — select how many lines (1-5) to generate at once.
- Generate numbers — press Generate to draw 6 unique numbers from 1-45 for each line.
- 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.
| Tier | Condition | Odds (approx.) |
|---|---|---|
| 1st | All 6 numbers match | 1 / 8,145,060 |
| 2nd | 5 numbers + bonus match | 1 / 1,357,510 |
| 3rd | 5 numbers match | 1 / 35,724 |
| 4th | 4 numbers match | 1 / 733 |
| 5th | 3 numbers match | 1 / 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.
Related tools & guides
Last updated: 2026-06-25