Random Number Generator
Pick random whole numbers or decimals in any range, with or without repeats, using the browser's secure random source.
Random Number Generator picks whole numbers or decimals in any range, up to 10,000 at a time, with or without repeats. It uses your browser's cryptographically secure random source with rejection sampling, so every number in the range is equally likely.
How random are the numbers?
Secure randomness
Numbers come from crypto.getRandomValues, the same source browsers use for encryption keys, not a predictable formula.
No bias
Rejection sampling throws away the few raw values that would make some numbers slightly more likely, so a range of 1 to 6 is a fair die.
Why use Random Number Generator?
- Fair draws. Pick raffle winners or lottery-style numbers with no repeats.
- Test data. Generate thousands of values and copy or download them.
- Flexible output. Sort the list and separate with new lines, commas or spaces.
How to use Random Number Generator, step by step

- Set the range in Random Number Generator. Type a minimum and maximum.
- Choose how many and what kind. Whole numbers or decimals, and tick No repeats if each must be unique.
- Press Generate. Press again for a fresh set.
Frequently asked questions
Can I get more unique numbers than the range holds?
No. Asking for 20 unique numbers from 1 to 10 gives a clear error.
Is it fit for legal lotteries?
The randomness is strong, but regulated draws usually need audited equipment. Check the rules that apply to you.
Are the numbers sent anywhere?
No. They are made in this browser tab.
Looking for the long version? The guides cover each of these jobs in depth.