Dice Roller
Related Tools
0 comments
How it works
Pick 1–4 dice, hit Roll, and watch each die animate through a rolling phase (pink glow), an optional suspense phase (orange), then land on a final value (blue). Results are summed and logged to a session history — clear it any time, or delete individual rolls. On mobile, shaking your device triggers a roll automatically via the DeviceMotion API — no tapping required. Everything runs in your browser; no data is sent anywhere.
Each die: Math.floor(Math.random() * 6) + 1
Common use cases
- Replace physical dice for board games — works offline after the first load.
- Use shake-to-roll on mobile for a tactile rolling experience without carrying dice.
- Enable "reveal one by one" mode to add suspense when multiple dice are rolled.
Frequently asked questions
How many dice can I roll at once?
Up to 4 dice at a time. Use the 1–4 selector at the top.
How does shake-to-roll work?
On mobile browsers that support DeviceMotion, shaking your phone triggers a roll. You may need to grant motion sensor permission on iOS.
What is "reveal one by one" mode?
All dice spin together, then each die reveals its result sequentially in a random order — great for dramatic moments.
Is my roll history saved?
History persists during the session but clears when you close the tab. Use the Reset button to clear it manually.