Dice Roller —D&D & RPG Dice
Free online dice roller —d&d & rpg dice. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Dice Roller —D&D & RPG Dice input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Dice Roller —D&D & RPG Dice?
Dice Roller — D&D & RPG Dice is an algebraic tabletop dice expression evaluator that parses mixed polyhedral formulas such as '2d6 + 1d20 + 3' and reports per-die breakdowns. Tabletop RPG players and dungeon masters rely on compound notation for weapon attacks with elemental bonuses, saving throws, and complex spell damage.
How It Works
Type any combination of +/- NdS terms (supporting d4, d6, d8, d10, d12, d20, d100 with 1–100 dice per term) and flat integer modifiers, or tap the quick-append die buttons. Calling rollDiceExpression parses tokens via regex, draws unbiased faces with secureRandomInt, sums signed subtotals plus modifiers, and outputs each die group locally.
Common Use Cases
- Rolling compound D&D weapon + bonus damage — evaluate expressions like '1d8 + 2d6 + 4' in one roll with per-group subtotals
- Applying positive or negative situational modifiers — include penalties like '1d20 - 2 + 1d4' cleanly via signed parsing
- Subtracting dice pools — use negative dice terms (e.g., '1d20 - 1d4' for Bane) with automatic signed subtotal handling
- Building dice expressions with one-tap buttons — click d4–d100 buttons to assemble complex formulas quickly on mobile
Technical Details
Pure parser & evaluator (parseDiceExpression, rollDiceExpression) supporting signed +/- terms over VALID_SIDES {4,6,8,10,12,20,100}, 1–100 dice per term, and flat numeric modifiers. Uses Web Crypto secureRandomInt and displays per-group roll arrays + total.
FAQ
Is this Dice Roller —D&D & RPG Dice free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.