Lottery Number Generator

Lottery Number Generator

Generate random lottery numbers instantly for Mega-Sena, Powerball, Mega Millions, EuroMillions and more. Free, no sign-up, no repeat numbers.

Updated May 2026

Game Configuration

Lottery Type

Separate with commas or spaces

Options
Generation Mode
3

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 the world's biggest lotteries plus a custom mode

15+ 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

Lottery
Format
Powerball
5 numbers from 1–69 + 1 Powerball (1–26)
Mega Millions
5 numbers from 1–70 + 1 Mega Ball (1–25)
EuroMillions
5 numbers from 1–50 + 2 Lucky Stars (1–12)
UK Lotto
6 numbers from 1–59
Mega-Sena
6 numbers from 1–60

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 dozens of distinct lines 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 spread out a line looks between low/high and even/odd numbers — 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

Pure Random
Frequency-Weighted
How it works
every number has equal probability
numbers that hit more in recent draws get roughly 3x the weight
Changes your real odds of winning
no
no
Popular with
players who want pure randomness
players who like following trends
Available for
every lottery
Brazilian lotteries only, needs live draw data

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.

Official lottery resources

Related Tools