Random Number Generator
Crypto-secure · 100% offline
—
Result
—
Statistics
0
Draws this session
Truly random, not pseudo
Uses crypto.getRandomValues() — the same source as browser TLS keys — with rejection sampling to remove modulo bias. Unlike Math.random(), it can't be reproduced or predicted.
Related tools
Real randomness matters
- Online contests: pick winners fairly — anyone can audit crypto.getRandomValues is unbiased.
- Board games: missing your D20? D4 to D20 all work offline.
- Lottery-style picks: true uniform sampling over the full space.
- Decision paralysis: flip a coin when both choices are equal — the instant it lands, you'll know which you hoped for.
A note on lottery: every combination is equally likely — no tool predicts winning numbers. If any site claims to, close the tab.
Frequently asked questions
How is crypto.getRandomValues better than Math.random?
Math.random uses a deterministic seed — with enough observations the stream is predictable. crypto.getRandomValues pulls from the OS entropy pool — the same source that secures your HTTPS connections. It's designed to be unpredictable.
Is there an audit trail?
The session counter shows how many rolls you've made. Refresh clears it — nothing is logged or transmitted. Independent verification is your trust model.