Security Tools
🎲 Random Number Generator
Generate cryptographically random numbers in any range. Everything runs in your browser — no server calls, no tracking.
Your Random Number
Click "Generate" below
Range
Generate Multiple
About the Random Number Generator
This free online random number generator uses the crypto.getRandomValues() Web API —
a cryptographically secure pseudorandom number generator (CSPRNG) — rather than
Math.random(), which is not suitable for security-sensitive applications.
Everything runs in your browser; nothing is sent to a server.
- Custom range — set any minimum and maximum, including negative numbers.
- Multiple formats — view your result as decimal, hexadecimal or binary.
- Batch generation — generate up to 1,000 numbers at once.
- No repeats option — useful for lottery-style draws or shuffled sequences, where each number should appear only once.
- Quick presets — common ranges like dice rolls, coin flips and lottery numbers in one click.
Unbiased generation: instead of a simple modulo operation (which can introduce statistical bias for some ranges), this tool uses rejection sampling to ensure every number in the requested range has an equal probability of being selected.