Random Number Generator
Generate random numbers in any range, with no repeats option.
About the Random Number Generator
The Random Number Generator produces random whole numbers within any range you set. Choose a minimum and maximum, decide how many numbers you need, and optionally require them all to be unique (no repeats) — perfect for lotteries, raffles, giveaways, games, sampling and decision-making. The numbers are generated in your browser using the device's built-in randomness, and nothing is sent to a server.
How to use it
- Set the minimum and maximum of your range.
- Choose how many numbers to generate and tick 'No repeats' if you need unique values.
- Click Generate, then Copy to grab the results.
Frequently asked questions
Are the numbers truly random?
They use the browser's built-in Math.random pseudo-random generator, which is more than random enough for raffles, games and everyday picks. It is not intended for cryptographic use.
Can I get unique numbers with no duplicates?
Yes. Tick 'No repeats' and every number in the result will be different, as long as the range is large enough to fit the count you asked for.
Does the range include the minimum and maximum?
Yes. Both the minimum and maximum values are included as possible results.
Related tools
Password Generator
Create strong, random passwords with a real strength meter.
GeneratorsQR Code Generator
Turn any link or text into a downloadable QR code.
GeneratorsJSON Formatter & Validator
Beautify, minify and validate JSON in your browser.
Developer ToolsWord Counter
Count words, characters, sentences and reading time as you type.
Text Tools