🎲 Random Number Generator
Generate secure random integers within a range.
Random
Sponsored
How it works
How it works
We sample from the browser's cryptographically secure PRNG and use rejection sampling to avoid modulo bias.
- Uniform 32‑bit integers are drawn with
crypto.getRandomValues. - Values above the largest multiple of the range are discarded so each outcome has equal probability.
- This is suitable for tokens and picks, but not a substitute for a full CSPRNG design.
Privacy & Security
All random values stay in your browser.
Sponsored
Accuracy, Limits & Tips
Range limited by 32-bit space; extremely huge spans not supported.
Examples
- Lottery style pick between 1 and 60.
- Random ID between 1000 and 9999.
Related tools
- 🔑 Password GeneratorGenerate random passwords.
- 🔢 Number FormatterFormat numbers with locale separators, SI prefixes, and scientific notation.
- 🆔 UUID GeneratorGenerate v4 UUIDs locally.
- 📱 QR Code Generator (v1-L)Generate a simple QR (version 1-L).
- 🆔 GUID v1 / v7 GeneratorGenerate Version 1 and 7 UUIDs.
Sponsored
You may also like
Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).