Random Number Generator

Fair random numbers for draws, games, lotteries, and sampling — pick your range and count, with optional no-repeats and sorting.

Enter your numbers

Your results

Your numbers—

Generated in your browser with crypto.getRandomValues() — a cryptographically strong random source, not Math.random().

How to use this calculator

Set the minimum and maximum (default 1–100), choose how many numbers to draw (up to 1,000), and toggle repeats and sorting. Numbers regenerate instantly whenever you change a setting, or press Generate.

How it works

Numbers come from crypto.getRandomValues(), the browser's cryptographically strong random source — fairer than Math.random(). With repeats off, the generator draws without replacement, so each number appears at most once; sorting then orders the results from low to high.

Frequently asked questions

How random is it?

It uses the browser's cryptographic random generator — far better than Math.random for fairness.

Can I generate unique numbers?

Yes — turn off repeats and it draws without replacement (count must fit the range).

Can I pick a random winner?

Set min 1, max = number of entries, count 1 — the result is your winner.

Is there a limit?

Counts up to 1,000 per draw to keep the page snappy.

Related calculators