About the Lottery Number Generator
The Lottery Number Generator makes random quick picks for popular lottery formats or a custom game you define. It is for players who would rather let chance choose than rely on birthdays and favorite numbers.
How it works
For the main numbers, the tool repeatedly draws a random whole number between 1 and the game's highest number from the browser's cryptographic random generator and adds it to a set, which ignores duplicates, until it has the required count. The result is sorted from lowest to highest. Bonus numbers are drawn the same way from their own separate range, so a bonus ball may match one of the main numbers, just as in the real games.
The presets are built in as follows: Powerball picks 5 from 1-69 plus 1 Powerball from 1-26; Mega Millions picks 5 from 1-70 plus 1 Mega Ball from 1-25; EuroMillions picks 5 from 1-50 plus 2 Lucky Stars from 1-12. Custom starts at 6 from 1-49 with no bonus ball. The copy button outputs a ticket as text such as "4, 18, 22, 37, 61 | Powerball: 9".
How to use
- 1
Choose a game at the top: Powerball, Mega Millions, EuroMillions or Custom.
- 2
For Custom, set "Numbers to pick" and "Highest number".
- 3
Click Generate Numbers to create a ticket; click again for more (the last five are kept).
- 4
Click the copy icon next to a ticket to copy its numbers as text.
Worked examples
Powerball quick pick
A player wants one random Powerball line.
Five unique numbers from 1-69 in ascending order, plus one red-ball number from 1-26.
EuroMillions line
A player in Europe wants a random EuroMillions entry.
Office raffle
An organizer needs 3 winning ticket numbers from 1 to 120.
Frequently asked questions
Will these numbers improve my odds of winning?+
No. Lottery draws are random, and every combination has the same chance. A random pick is no better or worse than numbers you choose yourself.
Can I set a custom number range for my own lottery?+
Yes. Choose Custom and set how many numbers to pick (1 to 15) and the highest number. Numbers are always drawn from 1 up to that maximum, without repeats.
Can numbers repeat within a ticket?+
Main numbers never repeat within one ticket. A bonus ball is drawn from its own range, so it can match a main number, as in the real games.
Which games have presets?+
Powerball (5 of 69 plus 1 of 26), Mega Millions (5 of 70 plus 1 of 25) and EuroMillions (5 of 50 plus 2 Lucky Stars of 12). Check that these still match your lottery's current rules.
How do I generate several lines at once?+
Click Generate Numbers once for each line. The tool keeps your five most recent tickets on screen, each with its own copy button.