About the Handiwork Random Number Generator
The Random Number Generator produces random numbers within any range and rolls virtual dice. Choose a minimum and maximum, decide how many numbers to draw, and toggle duplicates or sorting — or switch to Dice mode to roll any number of d4, d6, d8, d10, d12, d20, or d100 dice and see the total.
How to use the Handiwork Random Number Generator
- Pick Random number or Dice roller mode.
- Set your range and count, or choose how many dice and how many sides.
- Press Generate or Roll, then copy the result.
Random numbers with or without duplicates
For raffles, sampling, or assigning slots you often need unique numbers, so turn off “Allow duplicates” to draw without repeats. For simulations or rolls where repeats are fine, leave duplicates on. Sorting the output makes long lists easier to scan, while the original draw order is kept when sorting is off.
Rolling virtual dice
Dice mode covers the common polyhedral set — d4, d6, d8, d10, d12, d20, and d100 — used in board games and tabletop RPGs. Roll several dice at once and the tool shows each result plus the combined total, so you do not need physical dice on hand.
How values are selected
The generator obtains random bytes from the Web Crypto API and uses rejection sampling when mapping them into the requested integer range. Rejecting values outside an even multiple of the range avoids the modulo bias that can otherwise make some results slightly more likely than others.
Continue this workflow
Use the adjacent tool when the next step calls for a different input, output, or method.
Assumptions and limitations
- Results use browser-provided cryptographically strong pseudorandom values with rejection sampling, but the tool exposes no public seed or audit trail.
- Do not use this page for regulated lotteries, financial allocation, cryptographic key generation, or decisions that require independently verifiable randomness.
- The custom number range is limited to integers from -10,000 through 10,000, with at most 1,000 generated values per draw.
- Dice mode supports up to 20 dice and the listed d4, d6, d8, d10, d12, d20, and d100 shapes; it does not apply game-specific modifiers or reroll rules.
Sources and standards
These authoritative references were used to verify the method and guidance on this page.
Frequently asked questions
Are the numbers truly random?
They are generated with the Web Crypto API and unbiased range sampling. That is suitable for games, practice, and everyday decisions, but the tool does not provide a public seed or audit trail and should not be used for regulated drawings.
Can I pick numbers from a custom range?
Yes. Set any minimum and maximum from -10,000 through 10,000, choose how many numbers to draw, or use a quick range preset such as 1–10 or 1–100.
Which dice can I roll?
You can roll d4, d6, d8, d10, d12, d20, and d100 dice, with up to 20 dice at a time, and the tool sums them for you.
What happens when duplicates are disabled?
Each result is drawn at most once. If the requested count is larger than the number of available integers in the range, the tool asks you to reduce the count or expand the range.