Skip to content
ToolZone

Lottery Number Generator

Generate random lottery numbers instantly within any custom range, useful for games, draws, or fun experiments with different formats.

Runs in your browser. Nothing you enter or upload leaves your device.

For entertainment purposes only — always check official rules for your local lottery.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

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. 1

    Choose a game at the top: Powerball, Mega Millions, EuroMillions or Custom.

  2. 2

    For Custom, set "Numbers to pick" and "Highest number".

  3. 3

    Click Generate Numbers to create a ticket; click again for more (the last five are kept).

  4. 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.

Input
Game: Powerball
Result
7, 19, 33, 48, 62 | Powerball: 14

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.

Input
Game: EuroMillions
Result
3, 11, 27, 40, 46 | Lucky Star: 5, 10

Office raffle

An organizer needs 3 winning ticket numbers from 1 to 120.

Input
Game: Custom, Numbers to pick = 3, Highest number = 120
Result
17, 64, 103
Limitations
Custom mode has no bonus ball and allows at most 15 main numbers. Presets are fixed in the tool and may not reflect later rule changes by lottery operators. Only the five most recent tickets are shown, and they are cleared on reload or when you change the game.
Assumptions
Every number in the range has an equal chance of being drawn. Main numbers within a ticket must be unique, as in standard lottery draws.
Privacy
Numbers are generated in your browser; nothing is sent to a server or saved.
Disclaimer
For entertainment only. Generated numbers do not improve your odds of winning. Always check the official rules for your lottery, and gamble responsibly within your means.

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.

Related tools