Skip to content
snip tools

Random number generator

Draw secure random numbers in any range, with or without repeats — fair, fast and in your browser.

Runs 100% in your browser

How to generate random numbers

  1. Set the range. Enter the minimum and maximum (inclusive).
  2. Choose how many. Pick a count and whether duplicates are allowed.
  3. 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

Are the numbers truly random?
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.
Can I avoid repeats?
Yes — turn off “Allow duplicates” to draw unique numbers, like a raffle. The count is then capped at the size of the range.
What range can I use?
Any whole numbers, including negatives, as long as the minimum is below the maximum. Generate from one up to thousands at a time.
Is it fair and private?
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.