Lottery Number Generator

Generate random lucky numbers for your favourite lottery. Pure client-side, cryptographically seeded randomness.

Lottery

Lines to generate: 1

How to Use the Lottery Number Generator

  1. 1

    Choose your lottery

    Select UK National Lottery, EuroMillions, Powerball, Mega Millions, or Custom from the lottery selector buttons.

  2. 2

    Set the number of lines

    Pick between 1 and 10 lines to generate in one go. Each line is an independent set of lucky numbers.

  3. 3

    Click Generate Lucky Numbers

    Numbers are shuffled using the Fisher-Yates algorithm seeded by the browser's entropy — fully random and client-side only.

  4. 4

    Copy a line

    Click Copy next to any line to copy the numbers to your clipboard as comma-separated values (e.g. 5, 12, 23, 34, 41, 58).

  5. 5

    Review your history

    Your last 20 generated sets appear in the History panel with timestamps. Clear it any time with the Clear button.

About Each Lottery

🇬🇧 UK National Lottery

Pick 6 numbers from 1–59. Draws are held every Wednesday and Saturday. Match all 6 to win the jackpot. No bonus ball in the main jackpot line — all 6 are regular balls. Operated by Allwyn (formerly Camelot) under a licence from the UK Gambling Commission.

🌍 EuroMillions

Pick 5 main numbers from 1–50 and 2 Lucky Stars from 1–12. Draws are every Tuesday and Friday. EuroMillions is a transnational lottery played across nine European countries. The jackpot rolls over until won, with a cap of €250 million.

🇺🇸 Powerball

Pick 5 white balls from 1–69 and 1 red Powerball from 1–26. Draws take place on Monday, Wednesday, and Saturday. Powerball is one of the biggest lotteries in the world, known for its record-breaking jackpots. The Power Play option can multiply non-jackpot prizes.

💛 Mega Millions

Pick 5 white balls from 1–70 and 1 gold Mega Ball from 1–25. Draws are on Tuesday and Friday. Mega Millions holds the record for the largest US lottery jackpot ever paid out — $1.537 billion in 2018. Tickets are sold in 45 states, Washington D.C., and the U.S. Virgin Islands.

⚙️ Custom

Set your own minimum, maximum, and pick count. Useful for local lotteries, office sweepstakes, or any random number draw where you need a custom range. No bonus ball in custom mode — just pure main-number generation.

Frequently Asked Questions

Are these lottery numbers truly random?

Yes. Numbers are generated using the Fisher-Yates shuffle algorithm seeded by Math.random(), which draws from the browser's internal entropy pool. Every number has an equal probability of being selected — just like a real draw.

Does this tool send my numbers to a server?

No. All generation happens entirely in your browser. Nothing is sent to any server, stored, or tracked. Your lucky numbers are private to your session.

How many lines can I generate at once?

Up to 10 lines per click. Each line is independently shuffled — no numbers are shared or reused across lines. Generating 10 lines at once is just like clicking 10 times individually.

Why are the numbers sorted in ascending order?

Lottery tickets display numbers in ascending order, so this tool matches that convention. It makes the numbers easier to read and check against a draw result. The underlying selection is still fully random.

What is the Lucky Stars ball in EuroMillions?

Lucky Stars are the bonus numbers in EuroMillions, drawn from a separate pool of 1–12. You pick 2. Matching Lucky Stars alongside main numbers increases your prize tier. This tool generates both the 5 main numbers and both Lucky Stars for you.

What is the Powerball, and how is it different from the main numbers?

The Powerball is a single red ball drawn from a separate pool of 1–26, independent of the 5 white main balls (1–69). You need to match the Powerball to win the jackpot or certain prize tiers. This tool displays it separately in a different colour so it's easy to spot.

Can the same number appear twice in one line?

No. The Fisher-Yates algorithm samples without replacement, so every number in a set is unique — just like a real lottery draw machine. The same number cannot appear twice in the main pool or twice in the bonus pool of a single line.

Does using a number generator improve my chances?

No. Lottery draws are statistically independent — every number combination has exactly the same probability of winning. A generator simply removes the effort of choosing numbers yourself and avoids unconscious biases (like favouring birthdays below 31).

How does the Custom mode work?

Set a minimum, maximum, and pick count to match any lottery or draw you like. For example, min=1, max=90, pick=5 would generate 5 numbers from a 1–90 pool. The tool validates your settings and warns if the pick count exceeds the available range.

How long does the history keep my numbers?

The history panel stores your last 20 generated sets in memory for the current browser session. It resets when you reload the page. There is no persistent storage — your past numbers are never saved beyond your active session.