Random Number Generator
Generate random integers between any minimum and maximum. Generate up to 1000 numbers at once, optionally with no repeats — perfect for raffles, dice, sampling and games. Powered by a cryptographically secure RNG.
Uses crypto.getRandomValues with rejection sampling — unbiased, cryptographically secure randomness.
How it works
Numbers are drawn with crypto.getRandomValues using rejection sampling to eliminate modulo bias, giving a perfectly uniform distribution across the range. 'No duplicates' mode shuffles and samples the full range (requires count ≤ range size).
Frequently asked questions
Is this truly random?
It uses crypto.getRandomValues — a cryptographically secure random source — far better than Math.random() for fairness-sensitive uses.
How do I pick numbers without repeats?
Enable 'No duplicates'. The count must be less than or equal to the number of integers in your range.