Random Number Generator
Pick numbers between any minimum and maximum: one for a quick decision, a hundred for a draw. No repeats when the draw demands it, sorted when you want them tidy — all drawn with secure randomness.
Generate your numbers
Defaults draw 5 numbers between 1 and 100 — press the button.
Your numbers will appear here.
Draws you can defend
Secure source, unbiased sampling, no repeats when it matters.
Unbiased draws
Rejection sampling means no number in the range is more likely than another — the property a fair draw actually needs.
Up to 1,000 numbers
Class lists, ticket ranges, sample sets — generate the whole batch in one click, sorted or in draw order.
No-repeats with a guard
Ask for more unique numbers than the range holds and the tool explains the problem instead of looping forever or quietly repeating.
About the random number generator
A random number generator is only as good as its fairness. This one draws from crypto.getRandomValues — the cryptographic random source built into your browser — and for whole numbers it rejection-samples the results, a technique that guarantees every value in your range is exactly as likely as every other. The faster Math.random is never used; its patterns are predictable by design.
The controls cover the ways people actually use random numbers. A plain range for a quick pick. No-repeats mode for raffles, draws, classroom selections and Secret-Santa-style assignments, where a duplicated winner would be a real problem — and if you ask for more unique numbers than the range contains, the tool stops and explains rather than spinning forever. Decimals from one to three places handle measurements, weights and randomised test data.
Draws are generated on your device. Nothing about your raffle, your class list or your experiment leaves the browser.
Frequently asked questions
Fairness, repeats and raffles, answered plainly.
How random are these numbers, really?
They come from crypto.getRandomValues, your browser’s cryptographic random generator, and whole numbers are rejection-sampled so each value in the range is equally likely — the standard for a fair draw.
What does “no repeats” do?
Each number can be drawn only once, like tickets from a hat. If you ask for more unique numbers than the range holds, the tool explains instead of failing silently.
Can I generate decimal numbers?
Yes — choose 1 to 3 decimal places. The range then works continuously, so 2.5 is as possible as 2 or 3.
How many numbers can I generate at once?
Up to 1,000 per click — enough for ticket ranges, class draws and test data sets.
Is this suitable for a raffle or giveaway?
For ordinary draws, yes: secure source, unbiased sampling, no repeats. For regulated or high-value draws, use your official audited process — this is a fair tool, not a certified one.
Does it work for picking names or choices instead?
Numbers only here. For names, foods and options, the Random Choice Maker in the Decision Maker family does exactly that.