Calculators
Random Number Generator
Generate one or many random numbers in any range using the browser’s cryptographic random source — with unique-only and sort options.
Numbers come from crypto.getRandomValues with rejection sampling — no modulo bias, no server round-trip.
Random Enough — and What It Should Never Be Used For
Browsers generate randomness with the Web Crypto API (crypto.getRandomValues), a cryptographically strong pseudo-random source. That is ideal for picking raffle winners, sampling, and games — and still not the right tool for password or key generation, which has its own dedicated construction on this site.
If you need verifiable fairness for a public draw, note the seed and method in advance, or use a commit-reveal scheme: randomness that one party generates privately cannot be audited by the others.
The Formula Behind the Result
- Set the minimum and maximum of the range (inclusive) and how many numbers you need.
- Enable "unique only" for draws without repeats, like raffle picks.
- Numbers come from crypto.getRandomValues — the same secure source used by the site’s password generator.
- Optionally sort the output, then copy it or regenerate with one click.
Worked Example
Common Questions
Is this random source good enough for games and draws?
Yes. It uses the browser cryptographic API, the same quality of randomness required for security purposes — far stronger than Math.random().
Why does unique mode fail with certain settings?
You cannot draw more unique numbers than exist in the range; the tool tells you the maximum before generating.
Related Calculators
Secure Password Generator
Generate cryptographically secure passwords locally via crypto.getRandomValues() with accurate real-time entropy scoring and zero server transmissions.
UUID Generator (v4 & v7)
Generate random UUID v4 and time-ordered UUID v7 identifiers locally using native browser crypto primitives with bulk and case options.
Random String Generator
Generate cryptographically secure random strings for tokens, IDs, and keys — with full control over length and character sets.