Lottery number generator
Draw random number sets for popular lotteries around the world, with the correct count and range for each game. The numbers are pure chance, not predictions.
These numbers are random. No method can predict a draw, every combination is equally likely, and this tool gives no gambling advice. Play within your means and only where it is legal.
How to use it
- Choose the lottery, for example US Powerball, EuroMillions or Korea Lotto 6/45, or pick "Custom rules".
- Set how many sets you want, and optionally list numbers to exclude or numbers every set must include.
- Click "Generate". Each set appears as a row of balls, with bonus numbers shown after a plus sign.
- Copy one set with its button, or use "Copy all" to take every set with you.
What it does
Real rules for popular games
Powerball (5 of 69 + 1 of 26), Mega Millions (5 of 70 + 1 of 24), EuroMillions (5 of 50 + 2 stars of 12), UK Lotto (6 of 59), Korea Lotto 6/45, Japan Loto 6 and Loto 7, Germany 6aus49 with Superzahl, France Loto, Spain La Primitiva and Brazil Mega-Sena.
Your own rules
Choose how many numbers to draw from which range, and add bonus numbers from a separate range, to match any game that is not in the list.
Exclude and include numbers
List numbers to leave out, or numbers that must appear in every set. The tool checks that the rules still allow a valid draw.
Many sets, none repeated
Draw up to 50 sets at once. Numbers within a set are always different, and the same set is not drawn twice in one batch.
Colored balls
Korean Lotto 6/45 balls use the familiar colors by range: yellow for 1 to 10, blue for 11 to 20, red for 21 to 30, grey for 31 to 40 and green for 41 to 45.
Cryptographic randomness
Numbers come from your browser's cryptographic random generator, with no bias, and nothing is sent or stored. Only your settings stay on this device.
Good to know
A lottery draw is random, so no choice of numbers is better than another. 1 2 3 4 5 6 has exactly the same chance as any other combination, and past results do not change future ones. This tool does not predict anything and does not give gambling advice. It simply picks numbers fairly, which is handy if you would rather not choose, want a quick pick for a pool or just want many tickets filled in at once.
Each game has its own rule. In a 6 of 45 game there are 8,145,060 possible combinations; in Powerball there are two separate pools, five white numbers and one Powerball. Pick the game that matches your ticket so the ranges are right. Playing the lottery should stay entertainment: set a budget you can afford to lose, play only where it is legal and age-appropriate, and seek help if gambling stops being fun.
Questions and answers
Can this tool predict winning numbers?
No. Lottery draws are random and nothing can predict them. The tool only generates random numbers within each game's rules, and every combination has the same chance as any other.
Are the numbers really random?
Yes. Each number is drawn with crypto.getRandomValues, your browser's built-in secure generator, and converted without bias. Math.random is never used.
Which lotteries are supported?
US Powerball and Mega Millions, EuroMillions, UK Lotto, Germany 6aus49 with Superzahl, France Loto, Spain La Primitiva, Brazil Mega-Sena, Korea Lotto 6/45, and Japan Loto 6 and Loto 7. You can also set custom rules.
Why are the bonus numbers separate?
Games such as Powerball, EuroMillions and France Loto draw bonus numbers from a different pool than the main numbers. They appear after the plus sign in a different color, and may repeat a main number.
Can I force certain numbers into every set?
Yes. List them under "Numbers to include". They appear in every set and the rest are drawn at random. You can also list numbers to exclude.
Does the tool know that rules change?
The rules follow each game's current format as we know it, but operators can change them, so check your ticket and the official rules. Use "Custom rules" if a game has changed.