Skip to content
SpinWheelHero

Random Number Generator

Generate random numbers in any range, with or without repeats.

Your random number appears here

How to use the random number generator

  1. Set the range. Enter the smallest and largest number you want, or tap a preset like 1–10 or 1–100.
  2. Choose how many numbers. Generate a single number or a whole list at once.
  3. Pick your options. Turn on “No repeats” so no number appears twice, and “Sort results” to list them from smallest to largest.
  4. Click Generate. Copy the results with one click if you need to paste them somewhere else.

What people use random numbers for

  • Raffles and prize draws: pick the winning ticket number fairly, even with hundreds of tickets.
  • Games: choose who goes first, set a random target score, or replace lost dice. For dice specifically, try our dice roller.
  • Teaching: create random maths questions, pick a page number, or call students by their class number.
  • Sampling: choose random rows, survey respondents or test cases without bias.
  • Lottery-style picks: generate six numbers from 1 to 49 with no repeats, just for fun.

Why it’s fair

Many simple generators use Math.random(), which is fine for games but is not designed to be unpredictable. This generator draws from the same secure source browsers use for encryption, and it discards the rare random values that would make some numbers slightly more likely than others. Previous results never affect the next one: if 7 came up last time, it is exactly as likely to come up again.

Rather spin for it?

For a more exciting reveal on a screen or stream, use the 1–10 number wheel or the 1–100 number wheel. Need letters instead of numbers? Try therandom letter generator.

Random Number Generator: frequently asked questions

Is this random number generator truly random?

It uses crypto.getRandomValues(), the cryptographically secure random number generator in your browser, and removes the small bias that appears when random bits are mapped onto a range. Every number in your range has an equal chance.

Are the minimum and maximum included?

Yes. A range of 1 to 10 can return any whole number from 1 to 10, including both 1 and 10.

How do I generate numbers without repeats?

Switch on “No repeats”. Each number then appears at most once, which is useful for lottery-style draws, raffle tickets or putting things in a random order.

Can I use negative numbers?

Yes. Enter a negative minimum, for example −50 to 50, and the generator picks from the whole range.

How many numbers can I generate at once?

Up to 1,000 numbers per click, from a range of up to one billion numbers. With “No repeats” on, you cannot ask for more numbers than the range contains.

Can I use it to pick a raffle winner?

Yes. If your raffle tickets are numbered 1 to 500, set the range to 1–500 and generate one number. For several prizes, generate several numbers with “No repeats” switched on.

More free random tools