Random number generator
Draw secure random numbers in any range, with or without repeats — fair, fast and in your browser.
Runs 100% in your browserHow to generate random numbers
- Set the range. Enter the minimum and maximum (inclusive).
- Choose how many. Pick a count and whether duplicates are allowed.
- Generate. Press Generate; copy the result with one click.
About random numbers
Pick a winner, roll dice, sample a dataset or seed a game — this generator draws whole numbers from a range you choose. It uses the browser’s cryptographic randomness source with rejection sampling, so every value in the range is equally likely with no modulo bias. Disable duplicates for a raffle-style unique draw. Nothing is sent to a server, so results can’t be predicted or recorded by anyone but you.
Frequently asked questions
- They come from your browser’s cryptographically secure generator (WebCrypto getRandomValues), not Math.random, so they are unbiased and unpredictable — suitable for draws and giveaways.
- Yes — turn off “Allow duplicates” to draw unique numbers, like a raffle. The count is then capped at the size of the range.
- Any whole numbers, including negatives, as long as the minimum is below the maximum. Generate from one up to thousands at a time.
- The draw runs entirely in your browser with no server involved, so nothing is logged or uploaded and there is no way to bias the result.