Random Number Generator

Generate random numbers in any range — one or up to 10,000, integers or decimals, with no duplicates or sorted — plus dice, coin and lottery picks.

FreeNo signupFiles never leave your deviceNo watermark

Loading Random Number Generator…

What is the Random Number Generator?

A random number generator (RNG) picks numbers unpredictably from a range you set. AnyShift draws each number with your browser’s cryptographic random generator (the Web Crypto API’s getRandomValues), the same source used to create security keys, and both the minimum and maximum are included in the range.

Generate one number or up to 10,000 at once, as integers or with 1–2 decimals, optionally with no duplicates and sorted in order. One-click presets roll a die (1–6), flip a coin or pick 6 lottery numbers from 1–49. Everything runs in your browser; nothing is sent to a server.

How to use the Random Number Generator

  1. Set the Minimum and Maximum (both included) and How many numbers you need.
  2. Choose the Type: Integers, 1 decimal or 2 decimals.
  3. Tick No duplicates for unique picks and Sort results to list them in order.
  4. Click Generate, then Copy — or use Dice (1–6), Coin flip or Lottery 6/49.

Why use AnyShift's Random Number Generator

Runs locallyYour input is processed in the browser tab and never leaves your device.
Live resultsOutput updates instantly as you type or change options.
Copy or downloadOne click to copy the result or save it as a file.
Free, unlimitedNo account, no daily limits, no paywall.

Popular use cases

  • Picking a giveaway or raffle winner by entry number
  • Calling on students at random in class
  • Rolling dice or flipping a coin for board games
  • Drawing a random sample for a survey or audit
  • Generating lottery number picks

Settings for popular lotteries

GameMain numbersExtra numbers
Lotto 6/49 (Canada)6 from 1–49 (use the Lottery 6/49 button)—
Powerball (US)5 from 1–69Powerball: 1 from 1–26
Lotto (UK)6 from 1–59—
EuroMillions (UK & Europe)5 from 1–50Lucky Stars: 2 from 1–12
Oz Lotto (Australia)7 from 1–47—
Saturday Lotto (Australia)6 from 1–45—

Tick No duplicates and Sort results, and generate the extra numbers as a separate draw. Game formats change occasionally, so check the official rules before you play.

Frequently asked questions

Is this random number generator truly random?
It uses the Web Crypto API, a cryptographically secure pseudo-random generator seeded by your operating system. Results can’t be predicted from earlier numbers, which suits giveaways, classroom draws and games, though it is not a certified gambling RNG.
How do I generate random numbers without repeats?
Tick No duplicates before clicking Generate. With integers you can request up to the size of the range — for example, all 30 numbers from 1 to 30 gives a random shuffle of the whole list.
How do I pick a random winner for a giveaway?
Number your entries (for example, rows in a spreadsheet), set Minimum to 1 and Maximum to the number of entries, then click Generate. Take a screenshot of the result to show the draw was fair.
Are the minimum and maximum included?
Yes. With Minimum 1 and Maximum 10 you can get both 1 and 10. Use whole numbers for the limits when generating integers.
Do random numbers improve my lottery odds?
No. Every combination has the same chance of being drawn. Random picks simply avoid popular patterns such as birthdays, which can reduce the number of people you would share a jackpot with.

People also search for

random number pickerrngpick a random numberrandom number generator 1-100random integer generatornumber randomizerlottery number generatordice rollercoin flipraffle number pickerrandom number generator no repeats

Last reviewed: Built for: United States, United Kingdom, Canada, Australia, France Part of Text & Education

Guides & how-tos

Related tools

More Text & Education tools

View all