Dice Roller
Roll virtual dice (d4–d20), pick how many, and see each result plus the total instantly.
About the Dice Roller
The Dice Roller throws virtual dice for you — pick a die type (d4, d6, d8, d10, d12, or d20), choose how many to roll at once, and get each individual result plus the combined total in one tap. It replaces a physical dice bag for tabletop role-playing games, board games, party games, and any moment you need a fair random number without hunting for the right die. A running history keeps your last several rolls in view so you can double-check a result or track a sequence.
Every roll is produced by your browser's built-in cryptographic random number generator (crypto.getRandomValues), combined with rejection sampling so each face is exactly equally likely — no bias toward high or low numbers. That means the results are genuinely unpredictable, unlike a worn physical die that might favor certain sides, and far stronger than the simple Math.random() many web toys rely on. Nothing is transmitted or stored; the dice live entirely on your screen.
How to use
- Choose your die by clicking one of the buttons: d4, d6, d8, d10, d12, or d20. The number is how many faces the die has.
- Set how many dice to roll using the − and + buttons. You can roll anywhere from 1 up to 12 dice at once.
- Click Roll to throw them. The big number shows the total, and when you roll more than one die, each individual result appears below it.
- Read the Recent rolls list to review your last few throws — the newest is highlighted at the top.
- Roll again as often as you like. Use Clear to wipe the history and start fresh.
Rolling multiple dice is handy for common tabletop notation like 2d6 (two six-sided dice) or 4d6 for character stats. Just set the die type and count to match, then read the total.
Frequently asked questions
Are the rolls actually random and fair?
Yes. Each result comes from crypto.getRandomValues, your browser's cryptographically secure random generator, paired with rejection sampling so no face is more likely than another. This produces genuinely unpredictable, unbiased rolls — not the weaker Math.random() used by many simple dice apps, and not subject to the wear or weighting that can skew a real physical die.
Which dice can I roll?
The standard polyhedral set used in most tabletop games: d4 (4 sides), d6 (the classic cube), d8, d10, d12, and d20. You can roll from 1 to 12 of any single type at a time, which covers the vast majority of game rolls.
How do I roll something like 2d6 or 3d8?
Pick the die type first — for 2d6, choose d6 — then use the + button to set the count to 2 and press Roll. The tool shows each die's value and adds them into a single total for you, so there is no mental math.
Can I roll different kinds of dice together, like 1d20 + 1d6?
Not in a single roll — each roll uses one die type. To combine types, roll one set (for example, 1d20), note the result from the history, then switch the die type and roll again. Add the totals yourself for the combined number.
Is my roll sent to a server or saved anywhere?
No. All rolling happens in your browser with JavaScript. Results are never uploaded, logged, or stored — the recent-rolls history lives only in the page's memory and disappears when you refresh or close the tab. Use Clear any time to reset it immediately.
Why use a dice roller instead of real dice?
It's always available — no lost dice, no dice bag, and no space needed on a crowded table. It rolls many dice instantly with an automatic total, guarantees a fair result every time, and keeps a short history so you never lose track of what you just rolled. It's ideal for online games, travel, or whenever the physical dice have gone missing.
Does it keep a full log of every roll?
No. Only your most recent handful of rolls are kept on screen for quick reference, and that short list is never saved between visits. There is no permanent log, account, or sync — by design, so the tool stays private and self-contained.