Random Number Generator

Generate fair random numbers in any range, or paste a list of names to pick a winner. Uses your browser's cryptographic randomness.

—

—

How to use this tool

  1. Set the minimum and maximum numbers and how many you need.
  2. Choose whether numbers can repeat, then press Generate.
  3. For a giveaway or class, paste names one per line and press Pick a winner.

How fair is it?

Many random number tools use Math.random, which is fine for games but not designed to be unpredictable. This one uses crypto.getRandomValues, the browser's cryptographically secure generator, and rejects values that would make some numbers slightly more likely than others. Every number in your range has exactly the same chance.

Ideas

Teachers use the name picker to choose who answers next. Social media accounts use it to draw giveaway winners from a list of entrants. Set 1 to 6 for a dice roll, 1 to 2 for a coin toss, or pick six unique numbers from 1 to 59 for a lottery-style draw.

Running a transparent giveaway

Record your screen while you paste the full entry list and press the button, then share the video. That shows followers the winner was chosen fairly.

Frequently asked questions

Is this random number generator truly random?

It uses your browser's cryptographically secure generator, which is unpredictable and unbiased for practical use.

Can I generate numbers without repeats?

Yes. Keep No repeats ticked and each number appears only once.

How do I pick a random winner from a list?

Paste the names one per line in the name picker and press Pick a winner.

Can I roll a dice?

Set the minimum to 1 and the maximum to 6, then generate.

Sources and references

  1. W3C Web Cryptography API: getRandomValues
  2. NIST SP 800-90A: recommendations for random number generation

Last reviewed by the Everyday Toolnest team. How we check our tools. Results are for general information; for legal, tax, medical or financial decisions, check with a qualified professional.

More generators

Also useful