Handiwork
  • Home
  • Tools
  • Guides
  • Categories
  • About
Browse Tools
Handiwork
  • Home
  • Tools
  • Guides
  • Categories
  • About
Browse Tools

Popular tools

  • Online Excel Viewer
  • Passphrase Generator
  • GPA & CGPA Calculator
  • Keyboard Tester
  • Decision Wheel
  • QR Code Generator

Categories

  • Text
  • Image
  • Design & Color
  • PDF & Documents
  • Developer
  • Security
  • Calculators
  • Converters & Encoders
  • Productivity
  • Random & Decision

Resources

  • All Tools
  • Guides
  • Editorial Standards
  • Changelog
  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use
Browse all tools>
English

© 2026 Handiwork. Built and maintained by Handiwork.

All toolsAll random & decision tools

Random & Decision tool

Random Number Generator

Generate random numbers in any range or roll virtual dice — with duplicates, sorting, and totals.

?

Press Generate to pick a number.

Settings

Quick ranges

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

  1. Pick Random number or Dice roller mode.
  2. Set your range and count, or choose how many dice and how many sides.
  3. 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.

  • Decision WheelChoose visibly among named options when participants benefit from seeing every choice and the selected winner.

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.

  • Web Cryptography Level 2 — Crypto.getRandomValues — World Wide Web Consortium (W3C)

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.

Method and guidance reviewed August 3, 2026 by Handiwork.

How we review tools

Go deeper

Understand the method and trade-offs

Randomness & decisions · 10 minBrowser randomness and fair selection: numbers, dice, and wheelsRandom numbers and decision wheels can use the same secure browser source while answering different questions. Fairness also depends on the option list, range mapping, replacement rules, and audit needs.Read guide

Related random & decision tools

All random & decision tools
  • Coin FlipFlip a virtual coin for quick heads-or-tails decisions, with a running tally of results and streaks.