Random tools

Random number generator

Generate unbiased random integers, draw entries from a list, roll configurable dice or flip one or more coins without sending your data to a server.

Generate a random result

Choose a mode, enter the limits and generate a new result in your browser.

Enter whole numbers only.

Enter whole numbers only.

Private by default

All values and list entries remain in your browser. Nothing is sent to a server or stored after the page is closed.

How the generator works

The page uses crypto.getRandomValues and rejection sampling for integer ranges. Rejection sampling avoids the uneven probabilities that can appear when a random 32-bit value is reduced with a simple modulo.

Available modes

Random integers

Generate one or more integers in an inclusive range, with optional uniqueness and sorting.

List picker

Draw one or more unique or repeatable items from a list.

Dice roller

Roll up to 100 dice with between 2 and 1,000 sides each.

Coin flipper

Flip up to 1,000 coins and count heads and tails.

Important limits

  • The generator is not certified for regulated lotteries, gambling, audits, or legally binding drawings.
  • A browser extension, compromised device or modified page can affect the result.
  • No seed is exposed, so a draw cannot be reproduced later.
  • Repeated identical list lines are treated as one entry.

Examples

Unique draw

Integers from 1 to 50, count 5, duplicates disabled

Five different values between 1 and 50

Team picker

One person per line, count 2

Two randomly selected names

Role-playing dice

3 dice with 20 sides

Three rolls and their total

Frequently asked questions

Are the endpoints included?

Yes. Both the minimum and maximum can be selected.

Can two identical values appear?

Yes when duplicates are enabled. Disable the option to sample without replacement.

Is this suitable for a regulated lottery?

No. Use an independently audited and legally compliant system for regulated draws.

Are my list entries saved?

No. They remain in the page and disappear when it is closed or reset.

Technical sources