Random Number Generator — Integer & Lottery Numbers
Generate random numbers within a range. Supports multiple numbers, optional duplicates, sorting, and a lottery number picker mode for Nigerian lotto and more.
Frequently Asked Questions
How random is this random number generator?
This generator uses Math.random() — a pseudorandom number generator (PRNG) built into browsers. It is suitable for most everyday purposes (games, sampling, decisions) but is NOT cryptographically secure. For security-critical uses, a CSPRNG should be used.
What is a lottery number generator?
A lottery number generator picks a specified count of unique random numbers from a range without replacement. For example, Nigerian Lotto requires picking 6 numbers from 1-90. This ensures no duplicates in the selection.
What does "allow duplicates" mean?
With duplicates allowed (with replacement), each pick is independent and the same number can appear multiple times. Without duplicates (without replacement), each number can only be picked once — like drawing numbered balls from a bag.
Can I use this to generate random decimal numbers?
By default this generates integers. For decimals, you can use the min and max with decimal values — the calculator will generate random floats in the specified range.
How do I copy the generated numbers?
Click the "Copy" button below the results to copy all generated numbers to your clipboard as a comma-separated list.