Lottery Number Generator — Powerball, Mega Millions & More
Generate random lottery numbers instantly for Mega-Sena, Powerball, Mega Millions, EuroMillions and more. Free, no sign-up, no repeat numbers.
Updated May 2026
Reviewed by Rafael Duarte
Game Configuration
Lottery Type
Separate with commas or spaces
Configure your game and click Generate
Press Enter to generate quickly
How this lottery number generator works
Pick a lottery, generate up to 10 lines, copy or print
1. Choose your lottery
Powerball, Mega Millions, EuroMillions, UK Lotto, Mega-Sena and more — switch tabs for US, European or Brazilian games, each with the official number range built in.
2. Exclude numbers and set options
Type in numbers to leave out (like birthdays), balance even/odd counts, and — for Brazilian lotteries — switch on Frequency-Weighted mode to favor numbers that have hit more often in recent draws.
3. Generate, copy or print
Generate up to 10 independent lines in one click, star your favorites, then copy them all as text or print a ticket-ready sheet.
What this random lottery number generator does
Covers 13 major lotteries across Brazil, the US and Europe
13 preconfigured lotteries
Powerball, Mega Millions, EuroMillions, EuroJackpot, UK Lotto, SuperEnalotto, La Primitiva, Mega-Sena, Lotofácil and more, each with the correct number range and pick count.
Up to 10 lines at once
Every line is generated independently, with no duplicate numbers within a single line.
Live frequency data for Brazilian draws
For Mega-Sena, Lotofácil, Quina and Lotomania, it pulls the last 20 official draws and shows which numbers came up most (hot) and least (cold).
Even/odd balancing
Optionally nudge each line toward an even split of even and odd numbers instead of pure chance.
Cryptographically secure randomness
Numbers come from the Web Crypto API (crypto.getRandomValues), the same class of randomness used for security tokens — not Math.random().
Supported lotteries
A sample of the formats built into the generator
When people reach for this tool
The most common reasons to generate lottery numbers online
Filling several tickets in seconds
Generate 10 unique lines with one click instead of picking every number by hand at the counter.
Avoiding the birthday bias
Most players stick to 1–31 because those are calendar dates — a generator covers the full number range evenly, including the higher numbers people tend to skip.
Playing recent hot numbers
For Brazilian lotteries, Frequency-Weighted mode leans on numbers from the last 20 draws for players who like to follow trends.
Running an office or family pool
Generate up to 10 lines per click — and as many rounds as you need — for a group ticket so nobody's numbers overlap.
Common misunderstandings
Assuming weighted mode improves your odds
Every possible combination has exactly the same probability of being drawn. Frequency-Weighted mode is a popular strategy for players who enjoy following trends, not a mathematical edge.
Treating even/odd balance as a win predictor
The balance option only shapes how even and odd numbers are split within a line — it has no effect on the actual draw probability.
Relying on Math.random() in homemade generators
JavaScript's Math.random() isn't designed for anything security- or fairness-sensitive. This tool uses crypto.getRandomValues() instead, the cryptographic standard.
Why use this lottery number generator
It covers the major US, European and Brazilian lotteries with the official number ranges built in, plus live draw history and hot/cold frequency data for Brazilian games — no other free generator pairs both in one place.
Numbers come from crypto.getRandomValues(), the same source browsers use for security keys — closer to physically drawing balls from a machine than Math.random(), which most quick-and-dirty generators rely on.
Pure Random vs. Frequency-Weighted
Two modes, the same mathematical odds
Frequently asked questions
No. In a fair draw, every possible combination has exactly the same probability of coming up, whether you pick it by hand or generate it randomly. What a generator adds is speed and an unbiased spread across the full number range — it doesn't change your odds per ticket.
Yes. This tool uses the Web Crypto API (crypto.getRandomValues), which produces cryptographic-quality randomness, instead of Math.random(), which many simpler generators use and which isn't built for fairness-sensitive use.
Yes, all three are preconfigured: Powerball (5 numbers from 1–69 plus a Powerball from 1–26), Mega Millions (5 numbers from 1–70 plus a Mega Ball from 1–25), and EuroMillions (5 numbers from 1–50 plus 2 Lucky Stars from 1–12).
When enabled, it nudges each generated line toward a more even split between even and odd numbers instead of leaving that entirely to chance. It's a personal preference some players like — it has no effect on the actual probability of winning.
Yes. Type any numbers you want to avoid — separated by commas, spaces, or line breaks — and the generator removes them from the pool before picking, for every lottery it supports.
No. Each number is removed from the pool as soon as it's drawn for that line, exactly like a physical lottery ball machine, so a single line never has duplicates.
Official lottery resources
Official Powerball draw results, jackpot totals and how-to-play rules.
Official Mega Millions draw results and current jackpot estimates.
Information site with EuroMillions results and rules; official results come from each participating country's lottery operator.
Related Tools
- Flip a Coin Online: Heads or Tails with Live Stats Random Flip a virtual coin with one click or the space bar. Fair, crypto-random heads or tails with live counts, percentages and a history of your flips.
- D&D Dice Roller: d20 Advantage, 4d6 Drop Lowest Random Roll d4 to d100 online for D&D and board games: up to 20 dice, 2d20 with advantage or disadvantage, 4d6 drop lowest for ability scores and roll history.
- Random Number List Generator: Up to 10,000, CSV & JSON Random Generate up to 10,000 random numbers at once, with or without duplicates, whole or decimal. Download as CSV, JSON or TXT. Free, no sign-up.
- Random Name Picker: Draw Winners From a List, No Repeats Random Paste names one per line and draw one or several winners at once. Remove picked names for the next round, keep a draw history. Free, no sign-up.
- Random Number Generator: 1 to 100, No Repeats, Raffles Random Pick one or up to 1,000 random numbers in any range, like 1 to 100, with or without repeats and sorted. Secure Web Crypto draws, free in your browser.