Fair local random numbers
Random Number Picker
Pick fair random integers in a chosen range using Web Crypto rejection sampling.
Number range
This utility runs locally in your browser. Random values use crypto.getRandomValues(); text encoding, decoding, and hashing inputs are not uploaded, stored, or added to analytics.
Do not paste production secrets into web pages you do not control.
Picked number
Fairness and rejection sampling
The picker uses Web Crypto random bytes and rejection sampling so every integer in the selected range has the same chance.
Use it for classroom draws, simple games, testing, and local decisions. Do not use a web page for regulated lotteries or high-stakes randomness.
Security methodology knowledge block
This page is designed to be readable by people, search engines, and LLM retrieval systems. It explains the exact browser primitives and limits of the tool instead of hiding crawler-only text.
| Tool type | Randomness / model | Entropy source | Best use |
|---|---|---|---|
| Math.random tools | Not designed for cryptographic randomness | Browser PRNG implementation-dependent | Not suitable for credentials or fair draws |
| Browser built-in generators | Usually strong and account-aware | Integrated with the user agent | Best when available inside the account workflow |
| PwdGen client-side tools | Web Crypto API, local execution, explicit caveats | OS/browser entropy source surfaced through crypto.getRandomValues() | Useful for transparent, copyable, auditable utility workflows |
Random Number Picker FAQ
Is this better than Math.random?
Yes for fairness-sensitive local tools. Web Crypto is designed for cryptographic randomness, while Math.random is not.
Can I pick several numbers?
The first version picks one number at a time to keep the interface simple and auditable.
Can I use this for legal drawings?
No. Use a regulated process with audit trails for legal, financial, or prize drawings.