Calculators / TOOLKIT
Random Number Generator
Pick random numbers between any range - integers or decimals, duplicates or unique.
Free to use · No account needed
How to use
- Set the minimum and maximum range.
- Choose how many numbers and whether you want integers or decimals.
- Uncheck "Allow duplicates" for unique numbers (e.g. lottery-style draws).
- Click Generate, then copy individual results or the whole batch.
Generate truly random numbers for picks, raffles, dice rolls, sampling or cryptographic seeding. Set any range, quantity and decimal precision. Useful for testing, game design, random sampling in research, or just settling arguments fairly.
Use cases
1. Use case: Run a giveaway Pick a random winner between 1 and the number of entries, or draw several unique numbers for prizes.
2. Use case: Random sampling Generate a random sample of IDs from a range for testing or statistics without bias.
Practical tips
Decide whether duplicates are allowed before you draw: lottery-style picks need unique values, dice rolls do not, and the two are different modes. The bounds are inclusive — a 1 to 6 range includes both 1 and 6. This generator is fine for games, sampling and demos, but it is not a cryptographic source: never use it for keys, tokens or passwords — that is what the password generator is for. Like every tool on this site, the Random Number Generator runs entirely in your browser: the data you enter never leaves your device, nothing is uploaded to a server, and the tool keeps working if your connection drops.
Common mistakes
Random draws go wrong before the first roll:
- Not deciding in advance whether duplicates are allowed — lottery-style draws need unique mode, dice rolls do not.
- Off-by-one on bounds: the range is inclusive, so 1 to 6 includes both endpoints.
- Using it for anything security-related; this is not a cryptographic source, so keys and tokens belong to the password generator or a crypto library.
- Re-rolling until you like the result and keeping only that roll, which quietly defeats the point of randomization.
Why use this tool
This is the right tool when:
- A game, draw or demo needs uniform, unbiased picks.
- A classroom or workshop needs visible, instant randomness without installing anything.
- You need a quick random sample of records for spot-checking a list or dataset.
- Dice or coins are unavailable and a bounded draw substitutes cleanly.
Frequently asked questions
Does the Random Number Generator send my data anywhere?
No. It runs entirely in your browser — your input is processed on your device and never uploaded. Refresh the page and it still works offline.