Random Number Generator
Generate random numbers within any range — dice rolls, coin flips, and more
Why Use This Tool?
- Uses cryptographically secure randomness (Web Crypto API)
- Quick presets for common use cases like dice and coin flips
- Generate multiple numbers at once with duplicate control
How to Use
- Set the minimum and maximum values for your range
- Choose how many numbers to generate
- Optionally allow or disallow duplicate numbers
- Use quick presets for dice, coin flip, or d20
- Click Generate and copy results
FAQ
Are the numbers truly random?
Yes. This tool uses the Web Crypto API (crypto.getRandomValues), which provides cryptographically secure pseudo-random numbers. They are suitable for games, simulations, and decision-making.
Can I generate numbers without duplicates?
Yes. Uncheck the "Allow duplicates" option and the generator will ensure all numbers in the result are unique. The count cannot exceed the range size in this mode.
What are the quick presets?
Dice rolls a number from 1-6. Coin flip gives 0 (tails) or 1 (heads). D20 rolls a number from 1-20, commonly used in tabletop RPGs.
Is there a limit to how many numbers I can generate?
You can generate up to 1,000 numbers at once. For non-duplicate mode, the count is limited by the range size (max - min + 1).