Miscellaneous

Random Number Generator

Pick a random number between any two values — 1 to 10, 1 to 100, or a range of your own. Draw a single number or up to 10,000 at once, turn on no repeats for raffles and lottery picks, and switch to decimals when you need fractional values. Numbers come from your browser's cryptographic random source, so every value in the range is equally likely and nothing is sent anywhere.

Set a range, then press Generate.

Presets

How to generate a random number

  1. Enter the minimum and maximum — both ends are included, so 1 to 6 can return 1 or 6.
  2. Set how many numbers you want, from a single pick up to 10,000.
  3. Press Generate, or hit Enter from any field. Use Draw again to reroll with the same settings.
  4. Choose an order and a copy format, then press Copy to take the list with you.

Draws without repeats — raffles and lotteries

Tick No repeats and every number in the result is distinct, which is what a real draw looks like: a ticket, a name, or a lottery ball cannot come out twice. Use it to pick several giveaway winners from numbered entries, to build a random sample without duplicates, or to fill a lottery slip. The generator will tell you if you ask for more unique numbers than the range can supply — six unique picks need a range of at least six values.

Random decimals and wide ranges

Set Decimals to 1–6 to draw fractional values, such as a random number between 0 and 1 with three decimal places, or a random price between 10.00 and 99.99. Values are drawn evenly across every step in the range, so the endpoints are exactly as likely as the middle — a detail most naive generators get wrong by rounding a raw float.

How random are these numbers?

The tool draws from crypto.getRandomValues(), the browser's cryptographically secure random source — the same one used for encryption keys and session tokens — rather than a seeded pseudo-random formula whose output can be predicted from earlier values. That is more than enough for giveaways, classroom picks, sampling, testing, and games. It is not a substitute for a certified draw machine if you are running a regulated prize lottery.

Are the numbers really random?

They come from your browser's cryptographic random source, the same one used to generate encryption keys, rather than from a simple seeded formula. That makes them unpredictable in practice: nobody can work out the next number from the ones already drawn, which is what matters for giveaways, draws, and sampling.

How do I generate random numbers without duplicates?

Tick the no repeats box before generating. Every number in the result is then guaranteed to be different, which is what you want for raffle draws, lottery picks, and choosing several winners at once. You cannot ask for more numbers than the range contains — 10 unique values need a range of at least 10.

Can I use this to pick lottery numbers?

Yes. Set the range to your lottery's numbers, set how many to draw, and tick no repeats — the built-in presets cover a 6 from 49 draw and a 5 from 69 draw. Each number in the range has exactly the same chance of appearing, and no combination is any luckier than another.

How many random numbers can I generate at once?

Up to 10,000 numbers in a single draw. The result can be copied as a comma-separated list, one number per line, or space separated, so it pastes cleanly into a spreadsheet, a script, or a document.

Can it generate random decimals instead of whole numbers?

Yes. Set decimal places from 1 to 6 and the generator draws values at that precision — for example 0 to 1 with three decimals returns numbers like 0.482. Every value at that precision is equally likely, including the two ends of the range.

Do the numbers get sent to a server?

No. The numbers are generated by your own browser and never leave your device, so nobody else can see or reproduce your draw. The page keeps no history and works offline once it has loaded.

All Miscellaneous tools →