Random Number Generator
Pick a random number in any range, generate a whole batch with no repeats, roll a die, or flip a coin — using your browser's cryptographically secure randomness.
Why use this random number generator?
Most free "random number" tools online quietly use JavaScript's Math.random(), which is fine for casual use but is not cryptographically secure and can be biased in edge cases. This tool uses crypto.getRandomValues() with rejection sampling — the same randomness source used for generating encryption keys — so every value in your range has an exactly equal chance of appearing, whether you're picking a single lucky number or drawing 500 unique raffle entries.
Frequently asked questions
Is this random number generator truly random?
It uses the Web Crypto API (crypto.getRandomValues), the same cryptographically secure random source browsers use for security features — not the weaker Math.random(). Numbers are generated with rejection sampling to avoid any bias toward specific values.
Can I generate numbers with no repeats (unique)?
Yes — turn on "No repeats" and set how many numbers you want. Useful for raffles, drawing winners, or sampling. The quantity can't exceed the size of your min-max range, and the tool will tell you if it does.
Are the numbers generated on a server?
No. Every number is generated locally in your browser using JavaScript. Nothing is sent to or logged by IT Cares.
Can I generate decimal (non-whole) numbers?
Yes — turn on "Allow decimals" and choose how many decimal places you want. Decimal mode is only available when "No repeats" is off, since decimal values are effectively already unique.