Random Number Generator

Generate random numbers in any range, pick winners from a list, shuffle names, roll dice, flip coins, and create random tokens, all using your browser's cryptographically secure random number generator.

  • Free, no signup
  • Runs in your browser
  • Reviewed October 27, 2026

How to use the Random Number Generator

  1. Choose a mode: numbers, passwords and tokens, list shuffler and winners, dice and coin, or test profiles.
  2. Set the range, quantity, and options, such as unique numbers only or sorted output.
  3. Press Generate and copy the results.
  4. For giveaways, paste one entrant per line and draw the number of winners you need.

How it works

Randomness comes from crypto.getRandomValues, the browser's cryptographically secure generator, rather than Math.random. Every value in a range, and every entrant in a list, has an equal chance.

Lists are shuffled with the Fisher–Yates algorithm, which makes every possible order equally likely. Unique number draws never repeat a value.

Fisher–Yates: for i from n−1 down to 1, swap item i with a random item j where 0 ≤ j ≤ i

Worked example: drawing three winners

Paste 250 entrant names, one per line, and draw 3 winners. Each entrant has a 3 in 250 (1.2%) chance of being picked, and the same name cannot be drawn twice.

For transparency in a public giveaway, record your screen while drawing, because results are not stored and cannot be reproduced later.

Limitations

  • Results are not saved or verifiable afterwards. For legally regulated draws, use a process that meets your local rules.
  • Remove duplicate entries from a list first if each person should have only one chance.
  • The test profiles are fake data for testing software; do not use them to impersonate real people.

Frequently asked questions

Is this truly random?

It uses a cryptographically secure pseudo-random generator seeded by your operating system, which is unpredictable for all practical purposes, including security uses.

How do I pick a random winner from a list?

Paste the names, one per line, choose how many winners you need, and draw. Each name has an equal chance.

Can I generate numbers without repeats?

Yes. Turn on unique numbers only. The range must contain at least as many numbers as you ask for.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool