فارسی

Roll Dice and Flip a Coin with History

Roll dice or flip a coin. You can copy or download the result of each throw and the history.

Use this tool in your browser without installing software.

About this tool

For a board game, a random pick or a quick decision, you do not need to hunt for a physical die. Roll one to ten dice with four to a hundred sides and see each face and the total straight away. Coin mode flips heads or tails. The history for this session stays under the result, so you can see how many rolls you made, the average die and which face came up most. Copy the result or the whole history, or download it as a text file. Randomness comes from the browser’s crypto source and no request is sent to a server.

How to use it

  1. 1

    In Dice mode, choose how many dice and how many sides, then press Roll.

  2. 2

    For a coin, switch to Coin mode and press the flip button.

  3. 3

    Read the result and history, then copy them or download the text file.

If the file will not open

  • No result appears.

    Pick Dice or Coin first and press the main button. If the button is disabled, wait a moment for the previous roll to finish.

  • The history is empty.

    The history lives only in this page and is cleared on reload. Download it before closing the page if you need it.

  • Copy does not work.

    Some browsers block the clipboard on insecure pages or inside an iframe. Select the text from the history and copy it by hand, or download the file.

Frequently asked questions

How many dice and sides can I choose?

One to ten dice and four, six, eight, ten, twelve, twenty or a hundred sides. That covers common tabletop dice, and the total is calculated for you.

Is the result really random?

Yes. The numbers come from the browser’s crypto.getRandomValues, not a fixed sequence. Every face has roughly the same chance, and no result is stored or sent to a server.

Where is the history stored?

Only in this page’s memory, for the last fifty results. Closing or reloading the page clears it, and the Clear history button empties it too.

What do the average and top face mean?

The average uses individual dice in the saved history (up to 50 results), not the total of each roll. The top face is the number that repeated most often across all dice.

What does the download contain?

A plain text file with the number of each throw, the dice and sides, every face and the total; for a coin, heads or tails. It is the same text the Copy history button puts on the clipboard.