How to generate a random number
- Open the Numbers tab.
- Set Min and Max. Both ends are included, so 1 to 6 gives the six faces of a die.
- Set How many. Tick No repeats for a set of distinct values, or Sort ascending to read the draw in order.
- Press Generate. Press Enter in any field to do the same.
The page checks your settings before it draws. If the range is too small for the unique numbers you asked for, the message tells you the largest count that fits, and the button stays off until the settings are valid. Min and max can be any whole numbers between negative one billion and one billion, and you can draw up to 1,000 numbers at once.
How to use the random name picker
A random name picker needs a list. Paste names, teams or options into the Names tab, one per line. The counter shows how many entries it found, and blank lines are ignored. Set the number of winners, press Pick winners and every winner is drawn without repeats. The winners are shuffled with Fisher-Yates, so each entry has the same chance at every step.
For a classroom or giveaway, use Remove winners from list after the draw. It deletes the drawn lines so the next pick comes from the rest. If you edit the list after a draw, the tool asks you to draw again instead of removing the wrong lines.
Coin flip and dice roller
The Coin tab flips a fair coin with the same random source as the number generator. Rename the sides to whatever you are deciding between. The last ten flips in the visit are listed so you can see the streak.
The Dice tab is a dice roller for tabletop games. Pick 1d6, 2d6 or 1d20, or use Custom for any mix of dice. Each die is shown on its own, so you can check the faces as well as the total. Adding a modifier is up to you: add it to the total.
Is this random number generator fair?
Fair here means that each possible result has the same chance. A simple remainder can break that. A 32-bit random value cannot be split evenly into, say, six faces, so a plain remainder would make some faces slightly more likely. This tool discards the few values at the top of the range and draws again, which removes that bias. The source of the random values is crypto.getRandomValues on MDN, the browser's cryptographic generator.
| Need | Mode | Setting to change |
|---|---|---|
| One whole number in a range | Numbers | Min and Max |
| A set of distinct numbers | Numbers | How many and No repeats |
| A winner or several winners from a list | Names | Entries and Winners |
| Heads or tails, or any two options | Coin | Side one and Side two |
| Tabletop dice totals | Dice | Preset or Custom XdY |
A result is only as good as the draw. This page does not verify who is entered, and it does not replace the rules of a contest, raffle or lottery. Read those rules before you announce a winner.
Random number generator FAQ
How do I generate a random number between 1 and 100?
Open the Numbers tab, leave Min at 1 and Max at 100, and press Generate. For example, the result might be 37, shown in large type. Values are whole numbers, and both ends of the range, 1 and 100, can come up. Press Enter in any field to draw again.
Can I generate several random numbers without repeats?
Yes. Set How many, tick No repeats, and press Generate. For example, How many 5 with Min 1 and Max 20 gives five different numbers, such as 3, 8, 11, 14 and 19. If the range has fewer numbers than you asked for, the tool tells you the largest count that fits.
Can it pick numbers without repeats for a giveaway?
Yes. Set Min and Max to the range of ticket numbers, set How many to the number of prizes, and tick No repeats. For example, Min 1, Max 500 and How many 3 draws three different ticket numbers, so no ticket can win twice. Tick Sort ascending to read the winners in order.
Is this random number generator cryptographically secure?
It uses crypto.getRandomValues, the browser's cryptographic random source, and rejection sampling so no value is favored. For example, a six-sided die gets each face about one time in six over many rolls. That is strong randomness for everyday use. It is not a certified lottery or hardware random generator.
How does this compare to Google's random number generator?
Google's widget gives one number in a range inside search results. This page does the same job and also draws several numbers without repeats, picks winners from a list, flips a coin and rolls dice, with a share link for your settings.
How is this different from RANDOM.ORG?
RANDOM.ORG draws its numbers from atmospheric noise and serves them from its own servers. This page uses your browser's cryptographic generator, so each draw is instant and nothing you type is sent to a server. For example, a 1 to 100 draw here never leaves your device. Use RANDOM.ORG when a draw must come from a source outside your control.
How do I pick a random name from a list?
Open the Names tab, paste one name per line, set how many winners you need and press Pick winners. For example, six names with Winners set to 2 gives two different names. Press Remove winners from list after a draw to take the drawn names out before the next draw.
Can I share my settings with someone else?
Press Copy share link. The link stores your settings and your list (up to about 1,500 characters) in the part of the address after the #, which browsers do not send to any server. It does not store the last result, so the other person draws again.
How do I flip a coin online?
Open the Coin tab and press the coin or the Flip button. For example, rename Side one to Yes and Side two to No to decide a yes-or-no question. You can rename the two sides at any time. The last ten flips in this visit are listed under the coin.
How do I roll dice online?
Open the Dice tab and choose 1d6, 2d6 or 1d20, or pick Custom for any count of dice from 1 to 20 with 2 to 100 sides. Each die is shown with its value and the total is in large type.
Are my lists or results stored on your servers?
No. The page runs in your browser and makes no network requests with your entries or results. Nothing is saved to local storage, so a reload clears the list unless you keep it in the share link. For example, if you type 20 names and reload, the box is empty again, but a share link you copied brings the list back.
When should I not use an online random generator?
Do not use it to make passwords, encryption keys or anything where a regulated lottery or legal draw is required. For example, a prize draw that a sweepstakes rule requires to be audited needs a certified process. For those, use a tool designed for that job, and check the rules that apply to your draw.