Random Number Generator 1-6
Get a random number from 1 to 6, just like rolling a die.
Loading the random number generator 1-6… If nothing appears, please turn on JavaScript.
This random number generator picks a whole number from 1 to 6, so it works exactly like rolling a standard six-sided die. Every number has the same 1 in 6 chance. It is ready to go the moment the page loads: press the button and you have your number.
How to use the 1-6 number generator
- Press Pick a number (or the spacebar) to roll.
- Roll several at once by changing how many numbers you want under Options.
- Turn on “No duplicates” to get each number only once, for example to set a random order for six players.
- Change the range any time; the same tool works for any lowest and highest number.
When to use a random number from 1 to 6
- Board games: lost the dice? Roll here instead.
- Turn order: give each player a number and roll to see who goes first.
- Classroom activities: number six groups or six questions and roll to choose.
- Role-playing games: a d6 is the most common die in tabletop games.
- Probability lessons: roll many times and see how close the results get to 1 in 6 each.
Keep, copy and share your numbers
Every result has a lock button. Locked results stay put when you generate again, so you can keep the numbers you like and reroll the rest. The history panel keeps your earlier results, and the back arrow takes you to the previous set if you generated one time too many. Press Wheel to put the current results on a spinning wheel and pick one with a bit of drama.
Use Copy to copy the results as a plain list, CSV or JSON, or download them as a file. Share copies a link that shows exactly the same results to whoever opens it, which is handy for games, classes and group chats.
Is it really fair?
Yes. A physical die can be slightly unbalanced; this one can’t. Every roll uses your browser’s cryptographic random number generator, and each number from 1 to 6 has exactly the same chance. Past rolls don’t affect future ones, so rolling three sixes in a row is just as likely as any other three rolls. For other ranges, use the main random number generator.
How the randomness works
Every result comes from your browser’s built-in cryptographic random number generator (crypto.getRandomValues). We use rejection sampling, so every item has exactly the same chance of being picked, with no bias toward the start or end of the list. Nothing is sent to a server, and share links store the exact results so the person you send them to sees the same thing.
Frequently asked questions
Is this the same as rolling a die?
Yes. Each number from 1 to 6 has an equal 1 in 6 chance, just like a fair six-sided die.
Can I roll more than one die?
Yes. Set how many numbers you want under Options. Turn off "No duplicates" so numbers can repeat like real dice.
Can I get each number only once?
Yes. Turn on "No duplicates" and ask for 6 numbers to get 1 to 6 in a random order.
Can I change the range?
Yes. Change the lowest and highest numbers under Options.
Does it work on my phone?
Yes. It works on any phone, tablet or computer with a modern browser.
Is the 1-6 number generator free?
Yes. It is free, with no sign-up.