Skip to content

Random Number Generator

Pick a number between 1 and 100 — or any range — with optional no-repeat draws.

Last updated

How to use random number generator

  1. Enter the lowest allowed number in Min and the highest in Max — the defaults give the classic 1-100 draw, and negative bounds work too.
  2. Enter how many numbers you want in How many — one for a single pick, up to 1,000 for a list.
  3. Tick "No duplicates (draw without replacement)" if each number may appear only once, as with raffle tickets or lottery balls.
  4. Click Generate — the numbers appear below the buttons.
  5. Click "Copy results" to send the numbers to your clipboard.

Examples

Pick a number 1-100

The everyday pick: one uniform random number between 1 and 100, like a digital "pick a number between 1 and 100" shout.

Three numbers between 1 and 10

Draw three independent numbers from 1-10 — repeats are possible, like rolling a die three times.

Lottery-style 6 from 49

Draws 6 numbers from 1-49 — for real no-repeat draws tick the "No duplicates" box; here duplicates are possible.

What is Random Number?

Every so often a decision needs a number rather than a debate: who goes first, which question to review, what the office syndicate plays this week. The classic random number generator 1-100 covers most of these — an even hundred options, quick to say out loud, fair to everyone within earshot. This tool starts there by default, but the range is yours to set: any minimum and maximum, including negative numbers.

Sometimes one number is not enough. Draw three raffle winners, ten practice problems or six lottery numbers with the How many field. When repeats would skew the result — nobody should win the raffle twice — tick the no-duplicates option to draw without replacement, like numbered balls tumbling out of a cage. Left unticked, every draw is independent, so the same number can come up again.

The numbers come from crypto.getRandomValues, the cryptographically secure source built into your browser, with rejection sampling so every integer in the range is equally likely. Math.random — the quick default behind most older scripts — is never used here. And nothing is sent anywhere: the draw happens on your device the moment you click.

Frequently asked questions

How random are the numbers, really?

Every draw uses crypto.getRandomValues — the same cryptographically secure source your browser relies on for security keys — with rejection sampling so each integer in the range has an exactly equal chance. Math.random is never used, and nothing about your draw is sent to a server.

What does the No duplicates option do?

It switches from independent draws to drawing without replacement: once a number is picked it cannot come up again in the same list, like numbered balls leaving a cage. Repeats are rarer than most people expect even with duplicates on — the birthday paradox means that among just 23 people, there is a better-than-even chance two share a birthday.

Is this suitable for lotteries or gambling?

The draws themselves are fair and unbiased, which is the right foundation for games and raffles. But each draw is independent and random, so no generator can promise a winning outcome — past draws have no influence on the next one. Use it for fun and for fair selection, not as a prediction system.

Can I use negative numbers or decimals?

Negative bounds work fine — a range like -50 to 50 draws from 101 equally likely integers. Decimals are not supported: the generator works with whole numbers only, so enter integer bounds.

How many numbers can I draw at once?

Up to 1,000 per click. With "No duplicates" ticked, the count also cannot exceed the size of the range — drawing 10 unique numbers from 1-6 is impossible, and the tool will tell you to widen the range or lower the count.

Browse all generators.