Random Number Generator
Set a range and how many numbers you need — each one is generated with the browser's cryptographically secure random source, not a weak pseudo-random fallback.
How it's calculated
Numbers come from crypto.getRandomValues, the same cryptographically secure randomness source used for generating real security keys — not Math.random(), which isn't designed to be unpredictable. A rejection-sampling step avoids modulo bias, so every number in the range has an exactly equal chance of appearing.
Frequently asked
Why does this matter more than Math.random()?
Math.random() is fine for things like shuffling a UI animation, but it isn't guaranteed to be unpredictable or evenly distributed across implementations. crypto.getRandomValues is designed for exactly that, which matters for anything like a raffle, a game mechanic people might try to predict, or a sampling task.
What's the limit on how many numbers I can generate at once?
10,000 per click, which is enough for any realistic sampling or raffle need while keeping the page responsive.