Random Number Generator
Generate one or many random integers in any range, with an optional no-repeats mode.
82
How it works
Random integers are drawn using your browser's cryptographically secure crypto.getRandomValues, then reduced into your chosen min–max range. In unique mode, every possible integer in the range is shuffled with a Fisher-Yates shuffle and the first 'count' values are taken, guaranteeing no repeats; unique mode is only available when the requested count does not exceed the size of the range.
Example
Rolling a six-sided die is min 1, max 6, count 1. Picking 6 unique lottery numbers from 1 to 49 is min 1, max 49, count 6, with unique mode switched on — every number appears at most once.
Frequently asked questions
Are these numbers truly random?
They come from crypto.getRandomValues, a cryptographically secure random source built into your browser — far stronger than Math.random(), which is not designed for unpredictability.
What happens if I ask for more unique numbers than the range allows?
The tool shows an error instead of a wrong answer — for example, asking for 11 unique numbers between 1 and 10 is mathematically impossible, since only 10 distinct values exist.
What is the maximum count?
Up to 100 numbers per generation, enough for most games, raffles and sampling tasks without slowing down the page.
Is anything sent to a server?
No — every number is generated locally in your browser; nothing about your request is transmitted anywhere.
Related tools
Generate one or many random v4 UUIDs using your browser's cryptographic randomness.
Password GeneratorCreate a strong random password of any length, drawing from your chosen character types.
Hash GeneratorGenerate SHA-1, SHA-256 and SHA-512 hashes of any text, computed live in your browser.