Random Number Generator
Generate random numbers in any range, one or thousands at a time, instantly in your browser.
Generated with your browser's Math.random(). Not cryptographically secure — don't use these for passwords, tokens, or anything security-sensitive.
Need the opposite? Random Decimal Number Generator
What is Random Number Generator?
Pick a minimum and maximum, how many numbers you need, and generate instantly. Useful for picking a random winner, generating test data, running a quick simulation, or settling an argument about whose turn it is. Numbers are generated with your browser's built-in Math.random(), entirely on your device. Nothing you enter is sent anywhere.
How to Use the Random Number Generator
- 1
Set the Min and Max: Enter the lowest and highest whole number you want possible.
- 2
Choose How Many: Set the batch size, up to 10,000 numbers at once.
- 3
Enable No Duplicates (Optional): Check this if every number in the batch needs to be unique.
- 4
Generate and Copy: Generate the numbers and use the copy button to use them elsewhere.
How It Works
Each number is generated with your browser's built-in Math.random(), scaled to fall within your chosen minimum and maximum and rounded to a whole number. With "No duplicates" enabled, the tool tracks which values it's already produced and skips repeats, rather than generating a batch and hoping nothing collides. Everything runs locally in your browser. No request is sent anywhere, so there's no server-side log of what was generated.
Common Use Cases
Picking a random winner for a giveaway, raffle, or deciding whose turn it is.
Generating quick test data (sample IDs, row counts, or dummy scores) for a script or spreadsheet.
Running a lightweight simulation, like a Monte Carlo estimate or a dice-roll stand-in, without writing generation code yourself.
Frequently Asked Questions
Common questions about Random Number Generator.