QR Code Generator
Text or a link in, a QR code PNG out.
Roll up to 10 dice with 2 to 100 sides and see each die and the total. The rolls come from your browser's random generator, so you can play without physical dice.
Your browser is preparing the tool. It runs 100% locally.
Choose how many dice and how many sides each has, and the roller gives every die's result and the total, so two six-sided dice might land on 4 and 3 for a total of 7. Sides can be anything from 2 to 100, not just the usual six, so it covers a four-sided, twenty-sided or odd custom die too. The rolls come from the browser's standard random generator, which is fine for games but not for anything where money or security is at stake. Your browser does all the work.
Set the number of dice (up to ten) and the number of sides (from two to a hundred), roll, and you get each individual result listed out plus their sum. It replaces a real die for board games, tabletop role-playing, classroom activities or any time you need a quick random number in a range.
Because the sides are adjustable, it is not limited to a standard cube. Want a twenty-sided die for a role-playing game, or a hundred-sided die for a percentage roll? Set the sides and roll as many as you need at once.
For each die, the tool picks a whole number from one up to the number of sides, with every face equally likely, then adds the results together for the total. It uses the browser's built-in random generator and the standard technique that keeps each outcome uniform, so no face is favoured.
Roll several dice and you see each one as well as the sum. That helps when a game counts individual dice, for doubles or successes. Each die is independent of the others and of previous rolls.
die = 1 + floor(random × sides)
total = sum of all dicetwo six-sided dice → 4 + 3 = 7Every face from 1 to the number of sides is equally likely; each die is independent.
| Dice | 1 to 10 |
|---|---|
| Sides | 2 to 100 per die |
| Output | each die's result and the total |
| Distribution | uniform (each face equally likely) |
| Randomness | Math.random (pseudo-random) |
| Where it runs | In your browser, nothing uploaded |
Each roll is independent and uniform: every face has the same chance, and a previous roll has no effect on the next. The dice keep no memory, so a six is as likely after a run of sixes as at any other time.
It uses the browser's pseudo-random generator. That is fine for board games, role-playing and casual fairness, but it is not cryptographically secure, so do not use it for real-money gambling, lotteries or anything that must be tamper-proof.
Results are whole numbers from one to the number of sides. There are no fractional or zero outcomes, and the smallest die is two-sided (effectively a coin).
Several dice are summed as well as listed. If a game needs the individual dice, for doubles or counting hits, read the list rather than the total.
The limits are ten dice and a hundred sides. For more dice or larger ranges, roll again and combine, or use a tool built for very large dice pools.
Roll when you have lost the physical dice or need an odd number of sides.
Roll a twenty-sided, eight-sided or any die a game system calls for.
Demonstrate probability or generate random numbers in a lesson.
Use a roll to pick at random when a die is handy but not to hand.
Want one random number in a range? The random number picker does that directly. Need unpredictable randomness for security? Use a tool built on the cryptographic generator, not this one.
Rolls each die as a uniform whole number from 1 to the chosen number of sides using the browser's Math.random. That is a pseudo-random generator: good enough for games and casual fairness, but not cryptographically secure, so keep it away from real-money gambling and security.
Text or a link in, a QR code PNG out.
Count up with laps or count down from any number of minutes.
Notes that auto-save on this device, with a .txt download.
Length, weight and volume, converted as you type.
A Code 39 barcode as a scalable SVG.
Paste a list of names and draw a winner at random.
It's free, it needs no account, and it runs on this device.