Random Number Generator
Generate whole numbers in a range, one or many at a time.
Generate one or more random whole numbers within a range you set. Enter a minimum, a maximum and how many numbers you want, press Generate Sequence, and the results appear on screen ready to copy. It is handy for picking a raffle number, sampling, seeding a game, or any time you need an unbiased number in a range. Everything is generated in your browser and nothing is sent anywhere.
Setting the range and quantity
There are three fields: Min (default 1), Max (default 100) and Quantity (default 1, capped at 50). Generate Sequence produces that many numbers, each between Min and Max inclusive — both endpoints can come up. The values are whole numbers: any decimals you type into the boxes are truncated. Max must be greater than Min, so if the two are equal or reversed, or either box is not a number, the tool shows a prompt instead of generating.
Independent draws, so duplicates happen
Each number is drawn independently, with replacement, so in a sequence of several you may well see the same value more than once — it does not return a unique set or a shuffle. If you need distinct values, such as a lottery line, generate a few extra and discard the repeats, or use a shuffling tool instead. Copy Output copies the whole sequence as a single comma-separated list, ready to paste into a spreadsheet or document.
About the randomness
The numbers come from the browser's built-in Math.random, using the standard formula floor(random x (max - min + 1)) + min, which spreads results evenly across the inclusive range. That is fine for games, sampling, and everyday choices, but it is not cryptographically secure — don't use it to create passwords, tokens or anything security-sensitive, where a dedicated secure generator is required. All generation happens locally in your browser.
Frequently Asked Questions
Are the minimum and maximum included in the results?
Yes. Numbers fall between Min and Max inclusive, so both the minimum and the maximum value can be generated.
Does it produce whole numbers or decimals?
Whole numbers only. The inputs are read as integers, so any decimals you type are truncated before the numbers are generated.
Will the numbers in one sequence be unique?
Not necessarily. Each is an independent draw with replacement, so duplicates can occur. There is no no-repeat mode, and the quantity is capped at 50 per sequence.
Is it safe for passwords or security tokens?
No. It uses the browser's Math.random, which is fine for casual use but not cryptographically secure. Everything runs locally and nothing is uploaded.