Random Number Generator

Generate random numbers in any range, one or many at a time. No-duplicates mode for raffles and winner picks, with sorting and one-click copy.

Free, no sign-up Cryptographically fair Works offline

Popular ranges

Jump to a ready-made range.

How to Generate Random Numbers

Set a range, generate, copy — cryptographically fair.

1

Set the range and count

Enter the minimum and maximum, then how many numbers you need. Ranges like 1–10, 1–100 or 1–1000 all work; there is no cap on the numbers themselves.

2

Pick your options

Turn on no-duplicates to draw unique numbers for a raffle or winner pick, and sorting to list them low to high. Each draw is unbiased. Prefer a spinning draw? Try the Spin the Wheel.

3

Generate and copy

Press Generate to draw the numbers, then Copy to grab them as a comma-separated list for a spreadsheet or message. Roll game dice instead with the Dice Roller.

Frequently Asked Questions

How do I generate a random number in a range?
Enter the smallest and largest numbers you want — for example 1 and 100 — set how many numbers to generate, and press Generate. Each number is a whole number that falls anywhere from the minimum to the maximum, inclusive. If you enter the range the wrong way round, the tool swaps the values for you. Common ranges like 1 to 10, 1 to 100 and 1 to 1000 all work the same way; there is no upper limit on the numbers themselves.
What does no-duplicates mode do?
With no-duplicates turned on, every number in the result is unique — nothing repeats. This is exactly what you need to draw raffle or giveaway winners, pick lottery-style numbers, or put entries in a random order. Set the range to cover your entries (say 1 to 250 for 250 tickets), choose how many winners to draw, and each drawn number appears only once. If you ask for more unique numbers than the range can hold, the tool tells you so you can widen the range or allow duplicates.
Is the number generator truly random?
The random number generator uses the Web Crypto API (crypto.getRandomValues) with rejection sampling, the same approach used for security-grade randomness. Rejection sampling discards the small set of raw values that would otherwise make some numbers slightly more likely, so every value in your range has an exactly equal chance — there is no modulo bias. This is stronger than the Math.random() that many simple generators rely on. All of it runs on your device; nothing is uploaded.
Can I copy or sort the numbers?
Yes — the generated numbers can be sorted and copied. Turn on sorting to list the numbers from lowest to highest instead of draw order, which is useful for lottery-style picks. Press Copy to put the whole result on your clipboard as a comma-separated list you can paste into a spreadsheet, document or message. You can generate up to a thousand numbers at once, so it also works for building quick test data or sampling.