Throw a Dice
Roll one or more dice and get random dice numbers. Runs entirely in your browser, so your data never leaves your device.
Output
The result appears here as you type.
How to use Throw a Dice
- 1. Set the sides per die. Enter the number of faces each die should have in Sides per die, for example 6 for a standard cube, 20 for a tabletop RPG d20, or any other value your game uses.
- 2. Set how many rolls to make. Enter the number of individual dice rolls to generate in How many rolls, so you get one number per roll rather than running the tool repeatedly for each throw.
- 3. Choose a separator between rolls. Set the Separator that appears between each rolled number, such as a comma or a line break, matching however you plan to paste the results elsewhere.
- 4. Read the rolled numbers. Click generate and the output pane fills with the requested number of random rolls. Copy the list to use in a game, a simulation or a random sample.
When to use Throw a Dice
Throw a Dice rolls one or more virtual dice with any number of sides and returns the results instantly, replacing a physical die when you need a quick random number within a fixed range. It works for standard six-sided dice as well as the unusual sided dice used in tabletop games.
- Rolling for a tabletop RPG session. A game master needs a d20 attack roll or a d6 damage roll during a remote session where no physical dice are handy. Set the sides and roll count to match the game's rules.
- Running a quick random simulation. You are testing a probability idea, like how often doubles come up on two six-sided dice, and want a batch of rolls to eyeball the distribution without writing code.
- Deciding something casually with the group. Friends need to settle who pays for dinner or who picks the movie, and a quick dice roll on a shared screen settles it faster than passing a physical die around.
- Generating random numbers within a small range. You need a bounded random integer, such as a number from 1 to 100, and setting Sides per die to 100 gives you exactly that using the same rolling mechanic.
Examples
Ten six-sided rolls
Input
Output
4 1 6 3 ...
About the Throw a Dice tool
Throw a Dice is a free online tool that works entirely inside your web browser. Roll one or more dice and get random dice numbers. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 120 Random utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 3 settings, including Sides per die, How many rolls and Separator, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.
Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.
Frequently asked questions
Is Throw a Dice free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Does the generator send anything to a server?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How do I get a different result?
Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.