🎲

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
Tool
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 CaseSettings
Roll a diceMin 1, Max 6, Integer
Pick a lottery numberMin 1, Max 49, No duplicates, Count 6
Random percentageMin 0, Max 100, Decimal
Random sample from 1000Min 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.