Random Number Generator

Generate random numbers in any range — one or many at once, with optional no-repeat and sorting. Fair, unpredictable, and private in your browser. Great for draws and picks.

Set a range and press Generate to get a random number.

Numbers are generated with your browser’s cryptographically secure random generator (with bias removed), so every value in the range is equally likely. Everything runs locally — nothing is sent anywhere.

The Random Number Generator picks a truly random number in whatever range you choose. Set a minimum and maximum, decide how many numbers you need, and it generates them instantly — a single number for a quick decision, or a whole batch for a draw, a lottery-style pick, or a raffle.

You can require every number to be unique (no repeats) and sort the results, then copy them in one click. Everything is generated with your browser’s cryptographically secure random generator, so each number is genuinely unpredictable and nothing ever leaves your device.

How to generate a random number

  1. Enter the minimum and maximum values for your range.
  2. Choose how many numbers you want (from one to a thousand).
  3. Optionally tick “Unique (no repeats)” for a draw, and “Sort” to order the results.
  4. Press Generate, then use Copy to put the results on your clipboard.

Unique numbers for draws and lotteries

Turn on “Unique (no repeats)” when you need a set of different numbers — for example six different numbers between 1 and 49 for a lottery-style pick, or drawing raffle ticket numbers without any duplicates.

When unique is on, you can’t request more numbers than the range holds — asking for ten unique numbers between 1 and 5 isn’t possible, and the tool will tell you so.

Is it really random?

  • Each number uses the Web Crypto API (crypto.getRandomValues), the same secure randomness used for encryption.
  • A bias-removal step ensures every value in your range is exactly equally likely — no value is quietly favoured.
  • Results can’t be predicted or reproduced, and past results never affect future ones.

Frequently Asked Questions

Can I generate many numbers at once?

Yes — set “How many” up to 1000. The tool generates them all instantly and shows the count, sum, and average, and you can copy the whole set with one click.

What does “Unique (no repeats)” do?

It guarantees every generated number is different, which is ideal for lotteries, raffles, and any draw where you can’t pick the same number twice. You can’t request more unique numbers than the range contains.

Is the generator fair?

Yes. It uses your browser’s cryptographically secure random generator with modulo bias removed, so every number in your range has an exactly equal chance. There is no hidden pattern or predictability.

Can I get a random number between 1 and 100?

Yes — that’s the default. Just set the minimum to 1 and the maximum to 100 (or any range you like) and press Generate. Negative numbers work too.

Does it store my numbers?

No. Everything runs locally in your browser. The numbers exist only on the page and are cleared when you reload — nothing is uploaded or saved.