About the Random Number Generator
Need a number between 1 and 100, six lottery-style numbers with no repeats, or a thousand values for a test? Set the range and quantity, choose whether duplicates are allowed and press Generate.
Numbers come from your browser’s cryptographic random generator, and a rejection-sampling method ensures every number in the range is exactly equally likely — no modulo bias.
How to use the Random Number Generator
- Set the minimum, maximum and how many numbers you need.
- Choose whether to allow duplicates and sort the result.
- Press Generate.
Features
- Any integer range
- Up to 10,000 numbers
- No-duplicates option
- Unbiased, cryptographically secure
Supported formats
- Integers
Frequently asked questions
Is this truly random?
It uses the operating system’s cryptographically secure generator via the Web Crypto API, the same source used for encryption keys.
Is anything sent to a server?
No. Everything is calculated in your browser.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools