Random Number Generator
Generate one or many random numbers within any custom min/max range. Choose integer or decimal, allow or block duplicates, and copy results instantly.
🎲 Random & Fun Tools
Free
Browser-based
Results will appear here
Cryptographically Strong Randomness
This tool uses the browser's crypto.getRandomValues() API rather than the basic Math.random() function. The result is cryptographically secure randomness — suitable for lotteries, sampling, security tokens and any situation where predictability must be avoided.
Common Use Cases
| Use Case | Settings |
|---|---|
| Roll a dice | Min 1, Max 6, Integer |
| Pick a lottery number | Min 1, Max 49, No duplicates, Count 6 |
| Random percentage | Min 0, Max 100, Decimal |
| Random sample from 1000 | Min 1, Max 1000, No duplicates, Count 50 |
Duplicate Prevention
When No duplicates is enabled the range must contain at least as many values as the requested count. For example, generating 10 unique integers from 1–5 is impossible — the tool will warn you and reduce the count automatically.