Dice Roller
Roll D4-D100 dice online with totals and history.
How to use
- Set the dice count (1–10), the die type (D4–D100) and how many times to roll (1–20).
- Press "Roll" — the numbers come from the browser's cryptographic random source (crypto.getRandomValues), so every face is equally likely.
- The result area shows the latest roll's total, the sequence of each die and each roll's sum; with multiple rolls you also get the grand total.
- The history keeps the last 10 rolls with time, die type and dice sequence; "Clear history" removes them in one click.
- Use it for board games, tabletop RPGs, classroom sampling or everyday decisions — everything runs locally.
FAQ
Are the dice results really random?
Yes. Each value is derived from a 32-bit integer produced by window.crypto.getRandomValues, with rejection sampling used to remove modulo bias — the browser's cryptographic random source, stronger than Math.random.
How many dice can I roll at once?
Up to 10 dice per roll and up to 20 rolls in a row — for example "10D6 × 20" produces 200 values in one click, grouped and summed automatically.
How does D100 work?
D100 generates one integer from 1 to 100 directly, equivalent to combining a percentile die with a tens die in tabletop RPGs — no manual pairing needed.
Is the history uploaded anywhere?
No. The history lives only in the current page's memory and disappears when you refresh or close the tab; nothing is sent to a server or written to local storage.