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.