Lottery number generator

Choose a layout such as 6 of 49, or set your own count and range, and get random numbers that are different from each other and sorted. A second range can supply bonus balls. This is a random picker only; it does not know any game's real rules.

Layout

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Pick a layout, or choose Custom and enter how many numbers to pick, the range, and an optional bonus range.
  2. Set the number of lines if you want several tickets at once.
  3. Press Draw again for new numbers and Copy to take them with you. Bonus numbers are shown after a plus sign.

How it works

Main numbers come from a partial Fisher–Yates shuffle of 1 to n, so each number is picked at most once and every k-subset is equally likely. The same method draws the bonus numbers from their own range, and each group is sorted.

Tips

  • The layout names are only numbers (for example 6 of 49), not the names of any official game.
  • The total number of combinations is n! / (k! (n−k)!) for the main numbers, multiplied by the same count for the bonus range.
  • Play responsibly and only what you can afford to lose.

Frequently asked questions

Does this follow the rules of a real lottery?

No. It draws k different numbers from 1 to n, and optionally bonus numbers from a second range, which is the common shape of such games. Check the rules, ranges and ticket format of the game you actually play.

Does picking certain numbers improve my chances?

No. Every combination is equally likely in a fair draw. Random picks only avoid the habit of choosing birthdays, which can mean sharing a prize with more people if you win.

How many combinations does each layout have?

6 of 49 has 13,983,816 combinations. 5 of 50 with 2 of 12 has 2,118,760 × 66 = 139,838,160. 5 of 69 with 1 of 26 has 11,238,513 × 26 = 292,201,338.

Are numbers repeated within a line?

No. Main numbers are all different, bonus numbers are all different, and each group is shown in ascending order. The same value may appear in both groups because they use separate ranges.

More in Generators

All tools in this category: Generators ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.