Random Number Generator

Generate random numbers in any range, roll dice or draw lottery numbers. Cryptographically strong randomness, no repeats option. Free and instant.

Everything runs in your browser — your data is never sent to any server.

Why use this random number generator

Need a number nobody could predict or nudge? This generator produces random values right in your browser for raffles, games, decisions and sampling — three modes cover the everyday cases: a range with optional unique values, dice, and lottery-style draws.

What it does

  • Range mode: any min–max, up to 1000 numbers, with a no-repeats option.
  • Dice mode: roll 1–12 six-sided dice with the sum shown.
  • Lottery mode: draw unique numbers from a pool of up to 999, sorted.

How to use

  1. Pick a mode and set the parameters.
  2. Press Generate — the result appears instantly.
  3. Copy the result or roll again as many times as you need.

How it works

The generator uses the browser cryptographic API (crypto.getRandomValues) with rejection sampling to avoid modulo bias, and Fisher–Yates shuffling for unique draws. Everything runs locally in your browser.

Frequently asked questions

How random is it?

It uses your browser's cryptographic random number generator — the same source used for security keys — far better than naive Math.random() tricks.

Can it pick numbers without repeats?

Yes. Enable "No repeats" in Range mode, or use Lottery mode, which always draws unique sorted numbers from the pool.

Related tools