Skip to content
HNarzędzia
en
Categories

Random number generator - numbers, list picker, dice and coin flip

Pick a random number from 1 to 100 or any other range, draw several unique numbers, choose a giveaway winner, shuffle a list into teams or roll dice - all with your browser’s cryptographic random generator.

  • Free
  • No sign-up
  • Private
  • Runs locally

Draws use your browser’s cryptographic generator (crypto.getRandomValues) with rejection sampling, so every outcome has exactly the same chance. Nothing is sent to a server.

How to generate random numbers

  1. 1.

    Choose a mode

    “Numbers” for a range, “Pick from a list” for names or items, “Dice and coin” for games and quick decisions.

  2. 2.

    Set the options

    Enter the range and how many numbers you need, decimal places, whether repeats are allowed and the sort order.

  3. 3.

    Generate

    Click “Generate”. You see the result with the sum and average, and can copy it or generate again.

How fair is the draw?

The generator uses crypto.getRandomValues - the browser’s cryptographically secure source of randomness - instead of the predictable Math.random(). To avoid modulo bias (where some numbers come up slightly more often because the range does not divide the generator’s pool evenly), it applies rejection sampling: values from the uneven tail of the pool are discarded and drawn again. As a result every number in the range has exactly the same chance.

For unique numbers the tool draws without replacement, and lists are shuffled with the Fisher-Yates algorithm, which gives every possible order the same probability. Nothing is sent to a server, so lists of names stay on your device.

What you can use it for

  • A random number from 1 to 100 (or any range, including negative and decimal numbers) for games, quizzes and tests.
  • Numbers without repeats - for raffle tickets or lottery-style picks such as 5 of 69 (it is just a draw and does not improve your odds of winning).
  • Picking from a list - a giveaway winner, who answers next, the order of presentations.
  • Splitting into teams - sports teams in PE class, project groups, tournament brackets. Team sizes differ by at most one person.
  • Dice and coin - d4, d6, d8, d10, d12, d20 and d100 for board games and tabletop RPGs, plus heads or tails for quick decisions.

Probability - what are the odds?

In a fair draw the chance of one specific result is 1 / number of possible outcomes. When drawing without repeats you count combinations: choosing 6 from 49 gives 49! / (6! · 43!) = 13,983,816 possible sets.

DrawChance of a specific result
Coin flip (heads)1/2 = 50%
d6 die (a six)1/6 ≈ 16.67%
d20 die (a natural 20)1/20 = 5%
Number from 1 to 1001/100 = 1%
6 of 49 lottery jackpot1 in 13,983,816
Powerball jackpot (5 of 69 + 1 of 26)1 in 292,201,338

Previous results do not affect the next ones: after five tails in a row the chance of heads is still 50% (the gambler’s fallacy). For giveaways, publish the rules before the draw, record your screen or take a screenshot of the result, and make sure each participant appears on the list only once unless the rules allow extra entries - the “Remove duplicates” option helps with that.

Frequently asked questions

Is this random number generator truly random?

+
Yes, for all practical purposes. It uses the browser’s cryptographic random number generator (crypto.getRandomValues) with rejection sampling to remove modulo bias, so every number in the range is equally likely.

How do I generate numbers without repeats?

+
Turn on “No repeats”. You get distinct numbers, but no more than the range contains - from 1-10 you can draw at most 10.

How many numbers can I generate at once?

+
Up to 10,000 numbers at a time, from any integer or decimal range (up to 6 decimal places).

How do I pick a random winner from a list of names?

+
Open “Pick from a list”, paste the names (one per line or comma-separated), choose “Pick items” and click “Generate”. You can pick one or several winners.

How do I split people into random teams?

+
Paste the list, choose “Split into teams”, enter the number of teams and click “Generate”. Team sizes will differ by at most one person.

Is my list sent to a server?

+
No. Everything runs in your browser, and the list and results never leave your device.

Updated: