Skip to content
Time & RandomRuns in your browser

Random Number Generator

Generate random numbers in any range — unique or repeating — using cryptographically strong randomness.

What this does

Generate one or more random whole numbers between a minimum and maximum you choose. Optionally require the numbers to be unique — perfect for raffles, lotteries and picking winners — using the browser's secure random source.

How to use it

  1. 1Set the minimum and maximum.
  2. 2Choose how many numbers to generate and whether they must be unique.
  3. 3Generate, then copy the result.

Examples

  • Pick a number between 1 and 100
  • Draw 6 unique numbers from 1–49 for a lottery line

Frequently asked questions

Is the randomness truly random?
It uses the browser's cryptographically secure generator (crypto.getRandomValues), which is far stronger than the ordinary pseudo-random function and free of predictable bias.
Can I generate numbers without repeats?
Yes. Turn on 'unique' and each number in the batch will be different, as long as the range is large enough to supply them.

More time & random

View all