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
Heads: 0
Tails: 0
Flips: 0
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
Frequently Asked Questions
How do I generate a random number between 1 and 10?
Use the Random Number tab. Set the minimum to 1 and the maximum to 10, then click Generate. You'll get a random number in that range instantly. Adjust the range to anything you like — there's no limit.
Can I use this to pick lottery numbers?
Yes. The Lottery tab lets you generate numbers for the most popular lotteries including Powerball, Mega Millions, EuroMillions and Lotto NZ. Each set is generated randomly, just like the real draw. You can also set a custom range and pick count.
Is this random number generator truly random?
This tool uses your browser's built-in cryptographic random number generator (window.crypto.getRandomValues), which is significantly more random than the basic Math.random() function. It's suitable for lottery picks, games, giveaways and any general-purpose randomisation.
How do I roll a D20 online?
Go to the Dice Roller tab and select D20. Click Roll and you'll get an instant result between 1 and 20. You can roll multiple dice at once and choose different dice types — useful for tabletop RPGs like Dungeons and Dragons.
How do I pick a random name from a list?
Open the Name Picker tab and paste your list of names into the box — one per line. Click Pick a Name and the tool will randomly select one. Great for classroom draws, competition winners, team selections or any situation where you need to pick fairly.
Can I generate multiple random numbers at once?
Yes. The Multiple Numbers tab lets you generate as many random numbers as you need between a min and max. You can choose to exclude duplicates so every number in the list is unique — useful for sampling, test data or creating lottery combinations.
Does this tool store any of my data?
No. Everything runs entirely in your browser. Nothing is sent to any server, nothing is stored, and there's no sign-up or account required. It's completely private and free.
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.