About random numbers
This generator picks whole numbers between your minimum and maximum, both included. You can generate many numbers at once and optionally avoid duplicates, which is useful for raffles and sampling.
Common uses
- Lottery-style number picks and raffles.
- Choosing a winner or a random participant.
- Games, dice and board-game substitutes.
- Sampling items from a list for testing or surveys.
Randomness note
The numbers come from the browser's pseudo-random generator, which is fine for games and everyday decisions. Do not use it for security-sensitive purposes such as passwords; use our Password Generator, which relies on cryptographic randomness.
Frequently asked questions
Are both limits included?
Yes. A range of 1 to 6 can return 1 and 6.
How do I avoid repeats?
Tick 'No duplicates'. The count cannot exceed the size of the range.
Is it truly random?
It is pseudo-random, suitable for games and general use.