UTILS.
Private by default
⚄

Dice Roller

Roll dice with standard NdM±K notation and see each die and the total.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Roll dice using standard NdM notation such as 2d6+3 directly in your browser, with each result generated from crypto.getRandomValues.

The notation field takes N d M with one optional modifier, such as d20, 3d8-1 or 2d6+3. Spaces and capitals are ignored and N defaults to 1. N must be 1 to 1000 and sides 1 to 1,000,000. Anything else, such as 2d6+1d4, a decimal or keep-highest rules, shows an invalid notation message.

Every die is rolled with crypto.getRandomValues and rejection sampling; Math.random is not used. The result lists each roll, and with a modifier it adds the subtotal and total. The d4 to d20 buttons replace the field and roll that die once. Press Enter in the field or use Roll for typed expressions.

Frequently asked questions

What notation is supported?
Standard NdM±K, for example 2d6, d20 or 3d8-1, where N is the number of dice, M the sides and ±K an optional modifier.
How are the rolls generated?
Each die uses the browser's cryptographically secure random generator with rejection sampling, so every face is equally likely.
Can I mix different dice in one expression?
No. One expression has a single die size, such as 4d6.
Does the page remember earlier rolls?
No. Each roll replaces the previous result and nothing is saved.

More tools