Skip to main content

dice-roller

An online dice roller produces random rolls of standard polyhedral dice (d4, d6, d8, d10, d12, d20, d100) used in tabletop roleplaying games like Dungeons & Dragons, in board games when you forgot the dice at home, and in any scenario where a fair random outcome is needed. The ZTools Dice Roller uses the Web Crypto API for unbiased randomness, supports standard RPG notation ("4d6+2", "2d20kh1" for advantage), shows individual die results plus the total and modifiers, keeps a history of recent rolls, and runs entirely in the browser β€” no signup, no gambling, no real-money mechanics, just clean fair randomness.

Use cases​

Tabletop RPG sessions​

D&D groups roll attack rolls (d20+modifier), damage (4d6+2), and skill checks. The notation parser handles all standard combinations including advantage / disadvantage.

Board games online​

Playing Monopoly / Catan / Risk over a video call. One participant runs the dice roller; everyone sees the same shareable result.

Random decision making​

"d6: 1–3 = pizza, 4–6 = pasta." Light-touch decision aid when overthinking gets in the way.

Probability demonstrations​

Roll 2d6 a thousand times; the histogram shows the bell curve. Useful for math classrooms and statistics intros.

How it works​

  1. Pick dice and count β€” Click a die type (d4 ... d100) and how many to roll. Or type RPG notation like "4d6+2".
  2. Add modifiers β€” Plus / minus an integer, advantage (roll twice keep highest), disadvantage (roll twice keep lowest).
  3. Roll β€” Crypto-RNG draws each result. Animation optional. Individual rolls + total are shown.
  4. Inspect history β€” Last 50 rolls retained with timestamps. Useful for replay disputes or recap.
  5. Share β€” Generate a shareable URL with the result frozen. Link is read-only β€” no one can replay or fake the same roll later.

Examples​

Input: 1d20+5

Output: 1d20: 14; total = 19


Input: 4d6 (drop lowest)

Output: 4d6: 5, 3, 6, 2; drop 2; total = 14 (D&D ability score generation)


Input: 2d20kh1 (advantage)

Output: 2d20: 8, 17; keep highest = 17

Frequently asked questions​

Is the randomness truly fair?

Yes β€” Web Crypto pulls from the OS entropy pool. Indistinguishable from physical dice rolls for any practical purpose. No bias toward any face.

How do I roll with advantage / disadvantage?

Notation: 2d20kh1 (keep highest 1) for advantage, 2d20kl1 (keep lowest) for disadvantage. The shortcut buttons set this automatically for d20.

Can I roll exotic dice (d3, d7)?

Yes β€” type "1d3" or "1d7". The roller handles any positive integer face count.

Is this gambling?

No. The roller has no real-money mechanics, no payouts, no wagers. Pure randomness for games and decisions.

Does the share link prove the roll wasn't faked?

It includes a server-signed timestamp by default; unsigned shares are inherently trust-based. For tournament-grade fairness, use a roll service that publishes a hash chain.

Can I disable animations?

Yes β€” toggle "instant mode" for back-to-back rolls without the animation pause.

Tips​

  • Use RPG notation directly ("4d6+2") β€” faster than clicking individual dice.
  • Advantage / disadvantage shortcuts speed up D&D sessions.
  • For long sessions, the history log is your friend when someone forgets a roll result.
  • Statistics demos: roll 1000 Γ— 2d6, plot the histogram, see the bell curve emerge.
  • For shared decisions ("who pays for dinner"), let the roller decide and stop debating.

Try it now​

The full dice-roller runs in your browser at https://ztools.zaions.com/dice-roller β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub