Random Number Generator
Pick random numbers between any range. Use it for lottery picks, contest winners, sample selection, dice rolls, or classroom activities. Runs entirely in your browser — nothing is uploaded.
Uses crypto.getRandomValues() — cryptographically secure randomness. No data is sent to any server.
How to use the random number generator
Set a minimum and maximum value, choose how many numbers you need, and click Generate. The tool picks random integers in your range using cryptographically secure randomness.
- Set the range — Enter the lowest and highest possible values. Use negative numbers if needed.
- Choose quantity — Pick how many random numbers to generate (up to 100 at a time).
- Allow duplicates? — When checked, the same number can appear multiple times. Uncheck for unique numbers (must have enough room in the range).
- Generate — Click the button or press Enter. Results appear instantly with styled number cards.
Common uses
- Giveaways & contests — Assign numbers to participants and pick a random winner.
- Lottery number picker — Pick 6 numbers from 1–49 (or similar). Uncheck duplicates for non-repeating picks.
- Classroom & education — Randomly select a question number, student, or problem set.
- Game nights — Simulate dice rolls (1–6), d20 rolls (1–20), or any custom dice.
- Statistical sampling — Generate random indices for survey or data selection.
- Random assignment — Assign random IDs, room numbers, or seat numbers.
Is it truly random?
Yes. The tool uses window.crypto.getRandomValues() — the same cryptographically secure random number generator your browser uses for encryption and security. It's suitable for contests, games, and most statistical purposes. The results are unbiased and uniformly distributed across your range.
Limitations
- Maximum 100 numbers per generation. Generate multiple times for more.
- Range is limited to whole integers between −999,999 and 999,999.
- When duplicates are off, your range must be at least as large as the count you request.
Related Everyday tools
Showing all 10 related everyday tools. Browse all tools →