Random Number Generator
Generate Random Numbers in Range
Runs in your browser Your input never leaves your device.
About this tool
Set a minimum, a maximum and how many numbers you want, then generate. Each number is a whole number between the two limits, and both limits can come up. Up to 1,000 numbers can be generated at once, and repeats are allowed, so it does not produce unique draws. Decimal limits are adjusted inwards: the minimum is rounded up and the maximum rounded down. The tool uses your browser's standard random function, which is fine for games, raffles and sampling but is not cryptographically secure, so do not use it for passwords or security keys. Numbers are generated locally, with nothing sent anywhere.
How to use it
- Enter the minimum and maximum.
- Enter how many numbers to generate (1 to 1,000).
- Click the generate button and copy the result.
Common problems
- The tool says 'Max must be ≥ min'
- Swap the values so the maximum is not lower than the minimum.
- I got duplicates
- Each draw is independent. For unique numbers, generate more than you need and remove duplicates, or use a shuffle or list-picking tool.
- Need secure randomness
- This uses Math.random, which is not suitable for security purposes. Use the password or secret key generators instead.