ダイスローラー(RPG)
2d6+1d8+5のような標準記法を使用して多面体RPGダイスを振れます。
このツールについて
d4、d6、d8、d10、d12、d20、d100をサポートするフル機能のテーブルトップRPGダイスローラーです。「2d6+1d8+5」などの記法を入力し、アドバンテージまたはディスアドバンテージを選択して、個別のダイス結果と合計を確認できます。真のランダム性にWebCryptoを使用し、最後の10回のロール履歴を保持します。
使い方
- 1 ステップ1:入力フィールドにダイス記法(例:「3d6+2」または「1d20+1d4+3」)を入力するか、クイックロールボタンを使用してください。
- 2 ステップ2:オプションで単一のダイスロールにアドバンテージ(2回振って高い方を取る)またはディスアドバンテージ(低い方を取る)を選択してください。
- 3 ステップ3:「ロール」をクリックすると、個別のダイス面と総合計が即座に表示されます。
- 4 ステップ4:結果パネルの下のロール履歴を確認してください。新しいロールが追加されると古いエントリがフェードアウトします。
How dice notation works
Tabletop games describe rolls with a compact shorthand called dice notation, and this roller speaks it fluently. The core pattern is NdS: roll N dice that each have S sides. So 1d20 means one twenty-sided die, 3d6 means three six-sided dice summed together. You can chain groups and add a flat bonus with + or -, which is how a Dungeons & Dragons attack often looks: 2d6+1d8+5 rolls two d6s, one d8, and adds 5 to the total. The roller parses each segment independently, rolls every die, sums the kept values, applies the modifier, and shows you both the grand total and a per-group breakdown so you can verify the math.
The tool supports the seven standard polyhedral dice — d4, d6, d8, d10, d12, d20, and d100 — and renders each as its correct geometric shape (a triangle for the d4, a pentagon-ish trapezoid for the d10, a circle for the percentile d100) with the rolled number printed on its face.
True randomness, not Math.random
A dice roller is only fair if its randomness is genuinely unpredictable. This tool does not use JavaScript's ordinary Math.random(), which is fast but not designed to be unbiased or unguessable. Instead it draws from the browser's Web Crypto API via crypto.getRandomValues(), the same cryptographically secure source used for security tokens. Each die roll pulls a fresh 32-bit random integer and maps it onto the die's faces. The result is that every face has an essentially equal chance, and no sequence of past rolls lets anyone predict the next — which is exactly what you want when a critical hit is on the line.
Advantage, disadvantage, and "keep highest"
Modern RPGs add two twists this roller handles natively. Advantage rolls the die twice and keeps the higher result; disadvantage keeps the lower. Select the mode from the dropdown and it applies to your first die group — the display shows both numbers, with the discarded one greyed out, plus an annotation like (advantage: 17 vs 4).
Separately, the notation itself supports a "keep" suffix written NdSkX: roll N dice and keep the best X. The classic use is ability-score generation, 4d6k3 — roll four six-sided dice and keep the highest three, dropping the lowest. There's a quick-roll button for exactly this. The dropped die still appears in the result, dimmed, so you can see what was discarded.
A worked example
Enter 4d6k3 and roll. Suppose the four dice land on 5, 2, 6, and 4. The roller sorts them, keeps the top three (6, 5, 4), and drops the 2. The breakdown reads 4d6k3 = +15 and the total is 15 — a solid ability score. The discarded 2 shows greyed out among the dice. Now try a combat roll: type 2d6+1d8+5. If the d6s give 3 and 5, the d8 gives 6, the math is 3 + 5 + 6 + 5 = 19, and the breakdown shows each group's contribution separately so you can audit it instantly.
Common use cases
- Lost or scattered physical dice. When your dice bag is at home or a die rolled under the couch, this is an instant replacement.
- Online and remote play. Playing over voice or video chat, where everyone needs a trusted shared roller that no one can fudge.
- Character creation. The
4d6k3method for generating ability scores, repeated six times. - Complex damage rolls. A spell or weapon that combines several dice plus a modifier in one expression.
- Board games and probability demos. Anywhere you need a quick, fair random number within a known range.
Tips and common mistakes
- The keep suffix lowercases. Notation is case-insensitive and whitespace is stripped, so
2D6 + 5and2d6+5are identical — but the keep marker must be a lowercase-stylekfollowed by a number, as in4d6k3. - Advantage hits the first group only. If you write a multi-group expression with advantage selected, the higher-of-two reroll applies to the first die in the first group, matching how the rule normally works for a single d20 attack.
- Watch the breakdown, not just the total. The per-group line is there so you can confirm the roller did what you meant — a quick sanity check that catches a mistyped notation.
- Use the quick buttons. One tap gives you a single d4 through d100, plus presets for "4d6 drop lowest" and "2d20 (adv)," which is faster than typing for common rolls.
- History is short-lived. The last 10 rolls are listed for reference, but they live only in the current page session — refresh and they're gone, so jot down anything you need to keep.