← TheRandomNumber.com

Online Dice Roller

Roll D4, D6, D8, D10, D12, D20 or D100 using cryptographic randomness. Roll up to 20 dice at once with individual results and a combined total. Free, instant, no sign-up — works on any device.

TheRandomNumber

Free, browser-based random number generator. Lottery picks, dice rolls, coin flips and more.

Need a random number? You're in the right place. This free tool lets you generate random numbers in seconds — whether you're picking lottery numbers, rolling dice for a game, flipping a coin, or choosing a winner from a list of names. Everything runs in your browser with no data sent anywhere.

Random Number Generator

Enter a minimum and maximum, then hit Generate.

Your number will appear here

Lottery Number Generator

Pick a lottery format or set your own. Numbers are drawn without replacement.

Your lucky numbers will appear here

Dice Roller

Choose your dice type and how many to roll.

Roll the dice to see results

Coin Flip

Heads or tails — click to flip.

H
T

Random Name Picker

Paste names below — one per line — then click Pick a Name.

The chosen name will appear here

Multiple Random Numbers

Generate a batch of random numbers in any range.

Your numbers will appear here

Dice Roller — Frequently Asked Questions

How do I roll a D20 online?
Select D20 from the dice type options and click Roll. You get an instant result between 1 and 20, generated using window.crypto.getRandomValues for cryptographic fairness. Roll multiple D20s at once by changing the dice count. Useful for Dungeons and Dragons skill checks, attack rolls and saving throws.
What dice types does this roller support?
This roller supports D4, D6, D8, D10, D12, D20 and D100 — the full standard polyhedral set used in tabletop RPGs. The D4 is a four-sided pyramid, the D6 is the classic cube, the D20 is the twenty-sided die used in D&D, and the D100 (or percentile die) produces results from 1 to 100.
What is dice notation (NdX)?
Dice notation uses the format NdX, where N is the number of dice and X is the number of sides per die. For example, 2d6 means two six-sided dice (total range 2–12), and 1d20 means one twenty-sided die (range 1–20). This is the standard notation in tabletop RPGs including Dungeons and Dragons and Pathfinder.
What is the probability of rolling a 20 on a D20?
The probability of rolling a natural 20 on a fair D20 is 1 in 20, or 5%. Every face has an equal 5% probability. Because this tool uses cryptographic randomness, each roll is statistically independent — previous rolls have no effect on future ones.
Can I roll multiple dice at once?
Yes. Set the number of dice using the counter field before clicking Roll. You can roll up to 20 dice at once and get a combined total — for example, 4d6 for D&D ability score rolls or 2d6 for Monopoly movement.
Is this online dice roller fair?
Yes. All rolls use window.crypto.getRandomValues, the Web Cryptography API built into every modern browser. This draws from hardware entropy to produce results that are cryptographically unpredictable and unbiased across all faces.
Can I use this for D&D and other tabletop RPGs?
Yes. The full polyhedral set is supported: D4, D6, D8, D10, D12, D20 and D100. Roll 4d6 for ability score generation, 1d20 for attack checks, 2d8 for damage — any combination works. Results load instantly on mobile and desktop with no app required.
Related reading