How to Pick a Random Number Online (and Trust It)

November 15, 2026

A minor hockey league in Calgary ran its 50/50 draw last season by handing a stack of ticket stubs to a nine-year-old and asking him to "just pick one." Nobody argued, but nobody could explain afterward why that particular stub won either. That is the real problem with picking a random number by hand or by gut: it works, people accept it, and it is almost never actually random. A real random number generator removes the guesswork and gives you a number you can defend if someone asks how you got it.

The basic job is simple. You set a minimum and a maximum, ask for how many numbers you want, and the tool returns a value (or a list) inside that range. The part that matters is how the number is produced. A generator built on Math.random() alone is fine for a game, but it is a pseudo-random formula with a seed, which is not the same guarantee as a value drawn with the browser's own cryptographic random source, crypto.getRandomValues. Toolysite's Random Number Generator uses the latter, which is the same kind of source browsers use for things like security tokens, not a simple formula dressed up to look random.

Picking one number, cleanly

For a single pick - "give me a number from 1 to 100" - set Minimum to 1, Maximum to 100 and How many to 1, then press Generate. In a test run this returned 67, then 14, then 89 on three presses, with no visible pattern and no repeats of the previous result forced or avoided; each press is an independent draw unless you tell it otherwise.

Drawing several numbers without repeats

Raffles and giveaways need the opposite behaviour: once a number is drawn, it should not come up again. Tick No Repeats and the draw changes to sampling without replacement, the same logic as pulling numbered balls out of a bag one at a time. Ask for more unique numbers than the range can supply and the tool stops you - requesting 11 different numbers from a range of 1 to 10 returns the message that 11 different numbers cannot be picked from only 10 possible values, which is the correct answer, not a bug.

Using it to pick a real winner

This is where the hockey league's nine-year-old gets replaced by something explainable. Number every entry in your raffle or giveaway from 1 up to the total count. Set the range to match that count, tick No Repeats, ask for one number, and match the result to your numbered list - entry 212 is the winner, say. For three prizes, draw three numbers in the same pass with No Repeats still ticked, so the same person can't collect two prizes by accident. Anyone can watch the draw happen on screen and check the match themselves, which is the whole point.

Decimals, negative ranges and shuffling a list

The range isn't limited to whole positive numbers. A decimals setting controls how many decimal places each value shows, so a draw between 0 and 1 with two decimals gives results like 0.42 or 0.87 instead of a plain integer. Negative ranges work the same way - a span from -5 to 5 with no repeats returned values such as 3, -2, 0 and -5 in one test, with the minimum never allowed to exceed the maximum. To shuffle a list of names rather than pick a winner from it, number the names 1 to n, draw n numbers with No Repeats ticked, and read the names back in the order the numbers came out - that sequence is your shuffle, no separate shuffling feature needed.

Which setting for which job
What you're doingSetting to use
Single lucky-number pickHow many = 1, No Repeats off
Raffle with one winnerRange = entry count, How many = 1, No Repeats on
Shuffling a list of n namesRange = 1 to n, How many = n, No Repeats on
Dice-style repeated rollsRange = 1 to 6 (or similar), No Repeats off
Sampling with fractional valuesDecimals set above 0

What this tool is not built for is a legally regulated draw - a licensed lottery, a gambling outcome, or anything where a regulator expects an independently audited random process. For an office pick, a classroom activity, a social media giveaway or test data, browser-based cryptographic randomness is more than adequate and far better than a mental guess; for anything where money, licensing or a dispute could follow, say openly how the draw was done and consider a certified service built specifically for that purpose, the same way you'd use a notarised document instead of a handshake for something that actually matters.

Nothing entered into the generator is sent anywhere - the whole draw runs locally in the browser, and the result disappears the moment you close the page unless you copy it or download the list as a text file. For passwords specifically, use the site's dedicated Password Generator instead, since it adds a strength estimate and character-type controls this tool doesn't need.

Questions people ask

How do I generate a random number between 1 and 100?

Set Minimum to 1, Maximum to 100 and How many to 1, then press Generate. The result updates instantly and you can press Generate again for a new draw.

Is a browser random number generator really random, or just Math.random?

A well-built one uses the browser's crypto.getRandomValues, which is designed for security use and avoids the patterns a simple Math.random call can fall into. It is not the same as a hardware entropy source, but it is far better than a basic pseudo-random formula.

Can I generate random numbers with no repeats?

Yes, tick the no-repeats option and the draw becomes sampling without replacement, like pulling numbered balls from a bag. Ask for more unique numbers than the range contains and the tool will tell you it can't be done.

How do I pick a raffle or giveaway winner fairly online?

Number every entry from 1 to the total count, set the range to match, ask for one number with no repeats ticked, and match the result to your numbered list. For several prizes ask for several numbers in one draw so nobody wins twice.

Can I generate negative numbers or decimals?

Yes. A range can run from a negative minimum to a positive maximum, and a decimals setting controls how many decimal places each result shows.

How many random numbers can I generate at once?

Up to 10,000 in a single draw on Toolysite's Random Number Generator, which covers everything from a single pick to a large sample list.

How do I shuffle a list of names using a random number generator?

Number your list 1 to n, draw n numbers with no repeats ticked, and read the names in the order the numbers came out. That order is your shuffle.

Why do I keep getting the same number twice in a row?

Because repeats are allowed by default, the same way a die can land on the same face twice in a row. If every value in a draw must be different, turn on the no-repeats option.

Is a browser-based random number generator safe for a lottery or legal draw?

Treat it as fine for games, classroom picks, samples and informal giveaways, but not as a certified or auditable process. A regulated lottery usually needs an independent, documented method, which a free browser tool does not provide.

Does the tool store or send my numbers anywhere?

No. The draw runs in your browser and nothing is sent to a server; closing the page clears the result, so copy or download anything you need to keep.

If you run a small draw this week - an office pick, a class activity, a giveaway - number your entries first, then let the generator do the one part a human hand can't do honestly: pick without a reason.