Home › Fun & Games › Lottery Number Generator

Lottery Number Generator

Generate random quick-pick lines for Powerball, Mega Millions, EuroMillions, EuroJackpot, UK Lotto, Canada Lotto 6/49 or your own game, with exclusions and the exact jackpot odds. Numbers are drawn privately in your browser with a secure random generator.

Last updated:

Exclude numbers and options

    Numbers are drawn with your browser's cryptographically secure random generator (crypto.getRandomValues). Every combination has exactly the same chance of winning: no generator, "hot" or "cold" numbers or strategy can improve your odds. Check game rules and prices with your official lottery operator and play responsibly.

    Advertisement

    How to use the Lottery Number Generator

    1. Choose a lottery game from the list, or Custom game to set your own rules.
    2. Set the number of lines you want to play (1 to 50).
    3. Open Exclude numbers to leave out numbers or ranges, such as 13 or 1-9.
    4. Press Generate numbers to draw new quick picks; the jackpot odds are shown below.
    5. Copy or download your lines and enter them at an official retailer or website.

    Jackpot odds by game

    Odds for one line, calculated as C(main pool, main picks) × C(bonus pool, bonus picks). Rules as of 2026; always check your official lottery operator before playing.

    GameYou pickCombinationsJackpot odds
    Powerball (US)5 from 69 + 1 from 2611,238,513 × 261 in 292,201,338
    Mega Millions (US, since April 2025)5 from 70 + 1 from 2412,103,014 × 241 in 290,472,336
    EuroMillions5 from 50 + 2 from 122,118,760 × 661 in 139,838,160
    EuroJackpot5 from 50 + 2 from 122,118,760 × 661 in 139,838,160
    UK Lotto6 from 5945,057,4741 in 45,057,474
    Canada Lotto 6/496 from 4913,983,8161 in 13,983,816

    The math behind lottery odds

    Choosing k different numbers from n, when order does not matter, gives C(n,k) = n! / (k! × (n − k)!) combinations. For Lotto 6/49: C(49,6) = (49 × 48 × 47 × 46 × 45 × 44) / (6 × 5 × 4 × 3 × 2 × 1) = 13,983,816. A separate bonus pool multiplies the total: EuroMillions has C(50,5) = 2,118,760 main combinations and C(12,2) = 66 Lucky Star pairs, so 139,838,160 in all.

    Buying several different lines raises your chance proportionally: 10 Powerball lines give 10 in 292,201,338, or about 1 in 29.2 million. That is why the generator avoids identical lines by default.

    Facts that matter more than "lucky" numbers

    • Every combination is equally likely. 1-2-3-4-5-6 has exactly the same chance as any other line.
    • Past draws do not matter. Balls have no memory, so "hot" and "cold" numbers do not predict anything.
    • Popular numbers can mean shared prizes. Many players pick dates, so numbers 1-31 are over-represented; random picks across the whole range spread your choices.
    • Set a budget. Treat tickets as entertainment, never as an investment. If gambling stops being fun, contact a support service in your country.

    Need random numbers for something else? Use the Random Number Generator or roll the Dice Roller.

    Frequently asked questions

    Are the numbers really random?

    Yes. The generator uses your browser's cryptographically secure random number generator (crypto.getRandomValues) with rejection sampling, so every number in the range has exactly the same chance and no number repeats within a line.

    Can a number generator improve my chances of winning?

    No. Every combination has the same probability in a fair draw, so no generator, pattern, birthday system or hot and cold numbers can improve your odds. Random picks can only help in one small way: they avoid popular patterns (like birthdays), so if you win you are less likely to share the prize.

    What are the odds of winning the Powerball jackpot?

    1 in 292,201,338. You must match 5 white balls from 69, which is C(69,5) = 11,238,513 combinations, and the Powerball from 26: 11,238,513 × 26 = 292,201,338.

    What changed in Mega Millions in 2025?

    From the April 8, 2025 draw, the Mega Ball range was reduced from 1-25 to 1-24, while the 5 white balls stay 1-70. The jackpot odds are now 1 in 290,472,336 (C(70,5) × 24). The base price also rose to $5 per play with a built-in multiplier.

    How are the odds calculated?

    For a game where you pick k numbers from n plus j bonus numbers from m, the number of combinations is C(n,k) × C(m,j), where C(n,k) = n! / (k! (n − k)!). The jackpot odds for one line are 1 in that number, and with several different lines they improve proportionally.

    Does excluding numbers change my odds?

    No. Each line still has the same chance of winning the jackpot. Excluding numbers only changes which combinations the generator can pick for you.

    Do you store my numbers?

    No. Lines are generated locally and are not saved or sent anywhere. Only your chosen game and settings are remembered in this browser.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Random Number GeneratorPick random numbers in any range, unique or lottery-style.Fortune Cookie GeneratorCrack a virtual fortune cookie for an original fortune, lucky numbers and a daily pick.Dice RollerRoll a D6 or any RPG dice (D4 to D100) with totals and history.Coin FlipFlip a coin online: heads or tails, multiple coins and stats.Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Yes or No WheelSpin the wheel for a yes or no answer to any question.Random Name GeneratorGenerate random first and last names by gender and origin.Random Team GeneratorSplit a list of names into random, balanced teams.Random Letter GeneratorPick random letters from the alphabet, with vowel, case and no-repeat options.Random Country GeneratorPick random countries with flags, capitals, population and area.Random Date GeneratorGenerate random dates between two dates, with weekday and format options.Picker WheelSpin a wheel to pick a random name or choice.Random Dog PicturesRandom dog photos and fun dog facts.Random Cat PicturesRandom cat photos and fun cat facts.Random Parrot PicturesRandom parrot photos and bird trivia.Dog Web StumbleJump to a random dog website.Cat Web StumbleJump to a random cat website.Parrot Web StumbleJump to a random parrot website.Random Animal GeneratorGet a random animal with its class, habitat and a fun fact, with filters.Random Movie PickerCan't decide what to watch? Pick a random film by genre, decade and runtime.Random Food PickerCan't decide what to eat? Spin a cuisine wheel and get a dish that fits your diet.Truth or Dare GeneratorDraw clean truth or dare questions for family, teens or parties, with player turns.Baby Name GeneratorDiscover 1,700+ baby names filtered by gender, origin and letter, and save favorites.Would You Rather QuestionsRandom would you rather dilemmas in five categories. Vote and see your A/B split.Pet Name GeneratorFind the perfect name for a dog, cat, bird or bunny by species, style and coat color.Fantasy Name GeneratorCreate elf, dwarf, orc, dragon and other fantasy names from race-specific syllable rules.Random Question GeneratorRandom conversation starters: icebreakers, deep, funny, work-friendly and kids questions.Band Name GeneratorInvent band names for 14 music genres, or blend two genres, with album titles too.Writing Prompt GeneratorRandom story starters, first lines, characters, settings, twists and poem prompts in 11 genres.Drag Name GeneratorFind your drag queen or drag king name: puns built from your own name in seven styles.Rapper Name GeneratorTurn your name into a rap name in seven styles, from Lil and MC to trap, drill and emo rap.Superhero Name GeneratorInvent original superhero names with powers, an origin story and a weakness.Secret Santa GeneratorDraw Secret Santa names with exclusions and send everyone a private reveal link, no sign-up.Pirate Name GeneratorGet swashbuckling pirate names from your first name, plus ship names, in four styles.Raffle DrawPaste names, add extra tickets and draw one or many random raffle winners with confetti.Couple Name GeneratorBlend two names into ranked ship names and couple names, from Brangelina-style to overlaps.Spirograph GeneratorDraw spirograph patterns online with gear sliders, layers, animation and PNG/SVG export.Tongue Twister GeneratorRandom tongue twisters by difficulty and sound, plus a maker for any letter, read aloud.Random Quote GeneratorGet random inspirational, funny and famous quotes with author and source; copy or share as an image.Random Website GeneratorJump to a random fun, useful or interesting website from a hand-picked, family-friendly list.Random Workout GeneratorPick a goal, equipment, muscles and time to get a random workout with sets, reps and rest.Date Night Idea GeneratorRandom date night ideas by budget, at home or out, season and vibe. Save your favorites.Elf Name GeneratorFind your Christmas elf name from your first name and birth month, then print a name tag.Most Likely To QuestionsRandom 'who is most likely to' questions for parties and classrooms with a kid-safe filter.Random Gift Idea GeneratorGet random gift ideas by recipient, age, interests and budget, then shortlist and copy them.Random Hobby GeneratorFind a new hobby by budget, indoor or outdoor, solo or social, with simple steps to start.Random Location GeneratorRandom coordinates on land, in a country or near you, on a map with the nearest city.Random Object GeneratorRandom everyday objects with icons for drawing prompts, guessing games and teaching.Random Song GeneratorPick a random popular song by decade and genre, then play it on your favorite music service.Random Wikipedia ArticleGet random Wikipedia article summaries by language and topic, with images, links and history.Podcast Name GeneratorPodcast name ideas from your topic, tone and format, with domain availability hints and favorites.Random Card DrawShuffle a 52-card deck and draw one or more random playing cards, with jokers and history.Tournament Bracket GeneratorMake single or double elimination brackets for 2-64 players, click winners to advance, print.Random Fact GeneratorGet random fun facts about animals, space, the body, history, science, food and more.Random Joke Generator200+ clean, family-friendly jokes: dad jokes, puns, knock-knock jokes and more. Tap to reveal.Team Name GeneratorGenerate catchy team names for sports, work, trivia nights and gaming, with your own keyword.Business Name GeneratorTurn a keyword and industry into brandable business name ideas, with a .com check link.Charades GeneratorRandom charades words by category and difficulty, with a round timer, team scores and kids mode.Pictionary Word GeneratorRandom family-friendly drawing words by difficulty, with a round timer and team scores.Random Emoji GeneratorGenerate random emojis by category, copy them in one click, or roll an emoji story prompt.Halloween Costume Idea GeneratorRandom Halloween costume ideas for kids, adults, couples, groups and pets, with DIY lists.Random Activity GeneratorBored? Get a random thing to do from 300+ ideas, filtered by place, budget, age and time.Random Drawing Idea GeneratorGet random drawing prompts by difficulty and theme, with a color palette and sketch timer.Random Seating Chart GeneratorPaste a class or guest list and get a random seating chart with keep-apart rules.
    See all 63 Random Generators & Pickers →