○ RUNS IN YOUR BROWSER

Random Number Generator

Pick a random number between any two numbers, draw lottery-style numbers without repeats, roll a handful of dice, flip a coin or choose the winners of a giveaway from a list of names. Every draw is fair and happens on your device.

SETTINGS

RESULT

Drawing…

Each number 1 in 100 Processed locally · 0 bytes sent

What this tool does

It draws whole numbers, dice rolls, coin flips and winners with your browser's built-in cryptographic random generator. The numbers are unbiased: in a range of 1 to 6, each number comes up one time in six over the long run, the same as a fair die.

Ways to use it

  • Raffles and giveaways: paste the entries and pick one or more winners, in the order they were drawn.
  • Lottery numbers: 6 numbers from 1 to 49 without repeats, smallest first.
  • Games: roll 2d6 for a board game or a d20 for a role-playing game, or flip a coin to see who starts.
  • Teams and order: pick everyone on a list to put them in a random order.
  • Samples: pick 20 random row numbers from 1 to 5,000 to check a spreadsheet.

Limits

Ranges go up to a quadrillion (15 zeros) either side of zero, and one draw makes up to 1,000 numbers. With No repeats, you can't draw more numbers than the range holds.

How to pick a random number

  1. 1

    Choose what to draw

    Numbers for a range like 1 to 100, Dice for a d4 up to a d20, Coin for heads or tails, or List to pick names or items you paste in.

  2. 2

    Set the range or the list

    Type the lowest and highest number and how many you need. Tick No repeats for a lottery or raffle draw, and Smallest first to sort them. For a list, paste one entry per line and say how many winners.

  3. 3

    Draw and copy

    Press Generate, Roll, Flip or Pick winners for a new draw, as often as you like. Copy puts the result on your clipboard to paste into a chat or a spreadsheet.

Frequently asked questions

Are the numbers truly random?

They come from your browser's cryptographic random number generator, the same source used for passwords and encryption keys. Every number in the range is equally likely; the tool throws away the small slice of raw values that would make some numbers come up more often.

How do I pick lottery numbers without repeats?

Set the range, for example 1 to 49, type how many numbers you need, such as 6, and tick No repeats. Tick Smallest first to sort them like a lottery ticket. No generator can predict a real draw, though; every combination has the same chance.

How do I pick a giveaway winner fairly?

Choose List, paste the names of everyone who entered, one per line, and press Pick winners. Each person has the same chance. A name on the list twice counts as two entries, unless you tick Remove repeated names. Record your screen if you want to show the draw.

Can I roll several dice at once?

Yes. Choose Dice, slide up to 20 dice and pick the sides, from a d4 to a d20. You see each die and the total, which works for board games and tabletop games like D&D.

Is anything I type sent to a server?

No. The numbers and your list stay on your device; nothing is uploaded or stored, and the tool keeps working offline once the page has loaded.

On this page
Pages
Home
All tools
Suggest a tool
About
Privacy