Random number generator, dice and coin flip

Set the range and how many numbers you want, or pick the dice to roll or leave it to the coin: results use the browser's cryptographic generator, so they are truly unpredictable.

๐Ÿ”’ Everything runs in your browser: no data is sent to any server.

How it works

Numbers are drawn with crypto.getRandomValues, the browser's cryptographic generator: the same mechanism used to create keys and passwords, so there is no repeating pattern and no way to predict the next result. Every value in the range has exactly the same chance of coming up.

Numbers

Set the minimum and maximum (both included) and how many numbers you want. With "No repeats" you get a draw like a lottery or a raffle: each number can come up only once, useful for picking contest winners or the speaking order in a meeting. "Sort ascending" makes a long list easier to read.

Dice

Roll 1 to 50 dice with 4, 6, 8, 10, 12, 20 or 100 sides, the ones used in board games and role-playing games. The result shows each roll and the total. For "2d6" choose D6 and 2 dice; for a saving throw with advantage roll 2 D20 and keep the higher.

Coin flip

A fair 50/50 coin: to decide who starts, who does the dishes or which film to watch. The history under the result shows the latest flips.

Ideas

Frequently asked questions

Are the numbers truly random?

Yes. They are generated with the browser's cryptographic generator, not a predictable formula, and every number in the range is equally likely.

Can I draw numbers without repeats?

Yes: tick "No repeats". The number of draws cannot exceed the size of the range.

How many numbers can I generate at once?

Up to 1,000 per draw; for dice up to 50 rolls at a time.