Random Number Generator

Generate cryptographically random integers in any range, with optional unique values.

100% private — everything runs in your browser

How to Use

  1. 1

    Set the minimum and maximum values of the range.

  2. 2

    Set how many numbers you need and whether they must be unique.

  3. 3

    Press Generate — copy the whole list or a single value.

Examples

Dice roll

Input

1 – 6 · 1 value

Output

One number from 1 to 6

Lottery pick

Input

1 – 49 · 6 unique

Output

Six different numbers

FAQ

Are the numbers truly random?

They come from crypto.getRandomValues with rejection sampling, which avoids the modulo bias of a naive implementation.

Why does unique mode refuse my request?

You cannot draw more distinct values than the range holds; widen the range or lower the count.

Is the result sent anywhere?

No. Everything is generated in your browser.

Related Tools