Random Number Generator
Fair random integers in any range — with or without repeats.
Min
Max
Count
Result
—
How to use Random Number Generator
- Set the minimum and maximum of your range.
- Choose how many numbers you need (1–100).
- Tick Unique only to avoid repeats, Sort to order them, then Generate.
About this tool
Numbers come from crypto.getRandomValues, so each integer in the range is equally likely. Unique mode shuffles the whole range and takes the first N — the same idea behind lottery draws and raffles.
Frequently asked questions
What is the difference between unique and non-unique?
With Unique only, no number repeats — like drawing balls from a bag. Without it, repeats are allowed, like rolling a die several times.
How large can the range be?
Any integers your browser can handle — but for unique mode the range must hold at least as many numbers as the count you ask for.