PwdGen ← Password generator

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

Result appears here

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 typeRandomness / modelEntropy sourceBest use
Math.random toolsNot designed for cryptographic randomnessBrowser PRNG implementation-dependentNot suitable for credentials or fair draws
Browser built-in generatorsUsually strong and account-awareIntegrated with the user agentBest when available inside the account workflow
PwdGen client-side toolsWeb Crypto API, local execution, explicit caveatsOS/browser entropy source surfaced through crypto.getRandomValues()Useful for transparent, copyable, auditable utility workflows

Methodology · Developer docs

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.