Secure browser-local randomizer

Dice Roller

Roll one or more fair virtual dice and see every numeric result plus the total. Common polyhedral presets and custom dice stay within one calculator.

Choose options and generate a result.

How it works

Every die uses the same unbiased bounded-integer helper: a secure browser value is accepted only within an even multiple of the side count, then reduced to a face from 1 through N.

Example

Rolling 2d6 produces two values from 1 through 6 and their sum. A custom d7 gives each of its seven faces the same selection chance.

Limits and appropriate use

Roll 1 to 100 dice with 2 to 1,000 sides each. The tool handles simple quantity-and-sides rolls only; it does not parse modifiers, exploding dice, advantage, drop rules, or other tabletop expressions.

Randomness and privacy

Production uses Web Crypto and never falls back to Math.random. Automated tests inject deterministic values only inside the test harness; there is no public URL, query parameter, or page control for replacing the random source.

Related randomizers