Random Number Generator

Generate random numbers in any range, unique or repeated.

100% private - files never leave your browser

Loading tool…

Share:WhatsAppFacebookX

Generate random numbers for draws, games, sampling and testing. Set a minimum and maximum, choose how many numbers you want, and optionally require them to be unique. Numbers use your browser's secure random generator and are produced entirely on your device.

Where random numbers get used

Picking a winner from numbered entries, choosing which participant goes first, generating test data, deciding something you cannot decide yourself, or simply rolling dice when nobody can find the dice. The common thread is wanting a result nobody influenced, which is exactly the thing people are bad at producing themselves. Ask someone for a random number between one and ten and seven comes back far more often than chance allows.

Unique or repeated

The distinction matters more than people expect. Drawing with repetition means the same number can appear twice, which is right for dice rolls and simulations. Drawing without repetition means each number appears at most once, which is what you need for picking several distinct winners or assigning positions. Choosing the wrong mode for a giveaway means one entrant can win twice while another cannot win at all.

Do not use this for security

  • This produces numbers that are unpredictable enough for games, draws and testing.
  • It is not the right source for passwords, tokens, keys or anything an attacker would target.
  • For a password, use the Password Generator, which uses the browser's cryptographic randomness.
  • For a formal prize draw with real value, keep a record of the process so the result can be shown to be fair.

How to use Random Number Generator

  1. 1

    Set the minimum and maximum.

  2. 2

    Choose how many numbers to generate.

  3. 3

    Copy your random numbers.

Frequently asked questions

They use the browser's cryptographically secure random generator.