Random Number Generator

Generate random numbers for free — pick a range, how many numbers, whether repeats are allowed and whether to sort them. Roll any number of dice, flip coins, or pick winners from a list of names. Numbers come from your browser's cryptographically secure generator, with no bias.

100% private — everything runs in your browser. Conversion happens on your device; nothing is uploaded.

100% private — runs in your browser
Quick:
?

Numbers come from your browser’s cryptographically secure random generator (crypto.getRandomValues) with unbiased rejection sampling, so every value in the range is equally likely. Fine for games, raffles and sampling — not a substitute for audited systems in regulated lotteries.

How to generate random numbers

  1. Choose a range (or dice, coins or a list).
  2. Set how many results, and whether repeats are allowed.
  3. Click Generate.
  4. Copy the results, or generate again.

What you can use it for

  • Pick raffle and giveaway winners
  • Roll dice for board games and RPGs
  • Generate lottery-style number sets
  • Randomly assign teams, turns or samples

More free tools

Designing with text?

Style, caption and decorate text with our free, private text and image tools.

See all free tools →

Frequently asked questions

Are the numbers truly random?

They come from crypto.getRandomValues, the same secure generator used for encryption keys, with rejection sampling so every number in the range is equally likely.

How do I get numbers without repeats?

Tick “No repeats”. You can't ask for more unique numbers than the range contains.

Can I pick a random name?

Yes — choose “Pick from a list”, enter one name per line, and choose how many winners.

Is anything stored?

No. Results stay in your browser.

How many random numbers can I generate at once?

Set How many to any amount from 1 to 10,000 and click Generate. With more than one number, the large display shows how many results you got, and the full list appears in the Results box, separated by commas, new lines or spaces, whichever you choose under Separate with. Click Copy results to copy the whole list to your clipboard in one go.

Can I use negative numbers or a custom range?

Yes. Type whole numbers into Min and Max, including negative numbers, such as −50 to 50. Both ends of the range can come up. Results are always whole numbers: if you type a decimal, Min is rounded up and Max is rounded down, so 1.5 to 9.5 gives numbers from 2 to 9. Max must be greater than or equal to Min, or the tool asks you to fix it.

How do I roll dice online?

Choose Dice rolls under Generate, set Dice to any number from 1 to 100 and pick the sides: 4, 6, 8, 10, 12, 20 or 100. Click Generate and each die is rolled separately, with every face equally likely. With two or more dice, the large display shows each roll and the total, such as 3 + 5 = 8, and the Results box lists the individual rolls.

Can I flip a coin, or several coins at once?

Yes. Choose Coin flips under Generate and set Coins from 1 to 1,000. Each flip has an equal chance of heads or tails, drawn from the same secure generator as the numbers. Flip one coin and the large display shows Heads or Tails; flip several and it shows the tally, such as 6 heads, 4 tails, while the Results box lists every flip in order.

What do the Quick buttons and Lottery 6 of 49 do?

The Quick buttons switch to Numbers in a range and generate straight away. 1–10, 1–100 and 1–1000 each draw a single number from that range. Lottery 6 of 49 draws six different numbers from 1 to 49, with No repeats switched on. Tick Sort results first if you want the six listed from lowest to highest. You can change any setting afterwards and click Generate again.

Can the same name be picked twice when I choose several winners?

No. When you pick from a list, the tool shuffles the whole list and takes the number of winners you asked for from the top, so each line can be picked only once, in the order drawn. Blank lines are ignored and spaces at the ends are trimmed. If a name is on two lines, it counts as two entries. Ask for more winners than lines and you get every line, shuffled.

Can I sort the results or see earlier draws?

Yes. In Numbers in a range, tick Sort results to list the numbers from lowest to highest instead of the order they were drawn. Below the Results box, a Recent line keeps your last 10 draws, newest first, shown the same way as the large display, such as a single number, a dice sum or a result count. It lasts only while the page is open and clears when you reload.