Random number generator

Set a minimum, a maximum and how many numbers you want. Tick "no repeats" for a draw without duplicates, such as picking raffle winners, and "sort" to see the numbers in order.

Up to 1,000 at a time.

Result

Try an example:

How to use this tool

  1. Enter the minimum and maximum. Both ends are included.
  2. Choose how many numbers you need, up to 1,000.
  3. Tick "No repeats" and "Sort" if you want unique or ordered results, then press Generate.
  4. Copy the numbers or download the CSV file to put one number in each spreadsheet row. Press Generate for a fresh draw.

Good to know

  • Numbers come from the browser's cryptographically secure generator with rejection sampling, so every value in the range is equally likely.
  • The list uses plain digits without thousands separators so it pastes cleanly into spreadsheets.

Frequently asked questions

Are the minimum and maximum included?

Yes. The range is inclusive at both ends, so 1 to 6 behaves like a six-sided die and can return 1 or 6. Negative numbers work too: a range of -10 to 10 has 21 possible values. Decimals are not supported, so enter whole numbers only and divide the result yourself if you need fractions.

How random are the numbers?

The generator uses the cryptographically secure random source built into your browser (crypto.getRandomValues) together with rejection sampling, which avoids the slight bias a simple modulo operation introduces. Every value in the range has exactly the same chance. If that source is unavailable it falls back to Math.random, which is fine for games but not for security.

What does "no repeats" do?

With no repeats on, each value appears at most once, like drawing numbered balls without putting them back. That is what you want for raffle winners, seat assignments or lottery-style picks. The count can then be no larger than the number of values in the range, otherwise the tool shows an error instead of guessing.

Can I generate a lot of numbers at once?

Generate up to 1,000 numbers per click. Copy gives you a comma-separated list; Download CSV places one number per row with a column header. No repeats applies within one generated batch, so separate batches can contain the same number.

Does the page store or send my numbers?

Generated numbers are not sent to our server. A fresh result is created in your browser when the page loads and when you press Generate. Shared links restore the settings and produce a new draw. Copy or Download CSV preserves the displayed result when you choose to keep it.

Results are estimates for general information. Double-check anything important with an official source.