About the Random Number Generator
Fast, fair, cryptographically secure random numbers โ entirely in your browser.
What it is
A free random number generator that picks one or many numbers from any range you set. It's built for anything from a quick dice roll to a lottery-style draw of unique numbers, and every result is generated locally in your browser with no data ever sent to a server.
Features
Custom range
Any minimum and maximum, including negative numbers.
Bulk generation
Generate 1 to 1,000 numbers in a single click.
No-repeats mode
Guarantee every number in the result is unique โ ideal for draws and raffles.
Sorting
View results unsorted, or sorted ascending or descending.
Presets
Dice, coin flip, d20, 1โ10, 1โ100, and a lottery-style 6-of-49 pick.
Cryptographically secure
Uses crypto.getRandomValues, not Math.random.
Why secure randomness matters
JavaScript's built-in Math.random is fast but not designed to be unpredictable or unbiased โ it's unsuitable for anything where fairness matters. This tool instead uses the Web Crypto API's crypto.getRandomValues, the same source used to generate passwords and encryption keys, combined with rejection sampling so every number in your range has an exactly equal chance of appearing. There's no modulo bias toward low or high values, even for ranges that don't divide evenly.