Random Number Generator
Generate cryptographically secure random numbers between any range. Supports coin flips, dice rolls, lottery picks, and more.
How to Generate Random Numbers
1
Set Your Range
Enter the minimum and maximum values for your random numbers. You can also click a preset for common use cases like coin flips or dice rolls.
2
Choose Options
Toggle whether repeats are allowed, whether you want decimal numbers, and whether results should be sorted ascending.
3
Generate and Copy
Click Generate to get your random numbers. Use Copy All to copy the results to your clipboard.
Common Random Number Use Cases
| Use Case | Range | Outcomes | Description |
|---|---|---|---|
| Coin Flip | 1-2 | 2 | Heads or tails |
| Dice Roll | 1-6 | 6 | Standard six-sided die |
| Lottery | 1-59 | 59 | Pick 6 unique numbers |
| Random Percent | 0-100 | 101 | Percentage values (decimal) |
| Password Digit | 0-9 | 10 | Single random digit |
Frequently Asked Questions
This tool uses crypto.getRandomValues(), which is cryptographically secure — the same randomness used for encryption. It's significantly more random than Math.random().
Yes. Toggle "Allow Repeats" off to generate unique numbers within your range. If the range is smaller than the count, an error will show.
You can generate up to 1,000 numbers at once. For larger sets, generate in batches.
Absolutely. Use the Lottery preset (1-59, pick 6) or set your own range. The cryptographic randomness ensures fair results.
Ad