Random Number Generator
Random numbers in any range. Pick the minimum, maximum and how many you need, with no-repeats and sorting options.
Method: uniform random integers from the chosen range, drawn with crypto.getRandomValues — no repeats uses drawing without replacement.
How to use the random number
- Enter the minimum and maximum of the range.
- Enter how many numbers you need, and tick “No repeats” or “Sort ascending” if you want.
- Press “Generate numbers” — press it again for a fresh set, or “Copy results” to copy them.
Uses
- Draw a winner number between 1 and the number of entries.
- Pick random questions, seats or test samples.
- Generate several unique numbers for a lucky draw without repeats.
Random number example
Numbers 1–100, five unique values: each set of five is equally likely, and no number appears twice.
Random number: common questions
- Are the numbers truly random?
- They come from your browser's cryptographic random generator (crypto.getRandomValues), which is uniform across the range — every number has the same chance.
- Why does “No repeats” sometimes show nothing?
- With no repeats, the count cannot be larger than the range. Asking for 10 unique numbers between 1 and 5 is impossible, so widen the range or lower the count.
- How many numbers can I generate?
- Up to 1,000 in one go. For larger sets, generate in batches and join them.
- Is my data stored?
- No. The generation runs in your browser.
- Are the numbers truly random?
- They come from your browser's cryptographic random generator, which is suitable for fair draws. For legal lotteries, follow the rules that apply to you.