Random Number Generator 1-30
Get a random number from 1 to 30.
Loading the random number generator 1-30… If nothing appears, please turn on JavaScript.
This random number generator picks a whole number from 1 to 30. Every number has exactly the same 1 in 30 chance. It is set up and ready to go, so you can press the button the moment the page loads.
How to use the 1-30 number generator
- Press Pick a number (or the spacebar).
- Pick several at once by changing how many numbers you want under Options.
- Keep “No duplicates” on to draw each number only once, like pulling numbers from a hat.
- Ask for 30 numbers to get 1 to 30 in a completely random order.
When to use a random number from 1 to 30
- Classrooms: most classes have 30 or fewer students. Give everyone a number and pick who answers next.
- Days of the month: pick a random day for an event or challenge.
- Raffles and giveaways: number up to 30 tickets or entries and draw a winner.
- 30-day challenges: shuffle 30 tasks into a random order.
- Games: pick a random page, question or level.
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.
Drawing without repeats
With “No duplicates” on, each number in a single draw is different, just like drawing slips from a hat. To keep going across several rounds, for example calling on students one at a time, turn on “Exclude already shown”. The generator then never repeats a number until all 30 have come up. For any other range, 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 every number from 1 to 30 equally likely?
Yes. Each number has an exact 1 in 30 chance.
Can I pick more than one number?
Yes. Set how many numbers you want under Options.
Can I avoid repeats?
Yes. "No duplicates" stops repeats in one draw, and "Exclude already shown" stops repeats across rounds.
Can I put 1 to 30 in a random order?
Yes. Ask for 30 numbers with "No duplicates" on.
Can I change the range?
Yes. Change the lowest and highest numbers under Options.
Is the 1-30 number generator free?
Yes. It is free, with no sign-up.