Random Number Generator

Free random number generator: pick numbers in any range, with or without repeats, decimals and sorting, from a cryptographic RNG in your browser. No sign-up.

This random number generator picks whole or decimal numbers between a minimum and maximum you choose. It uses crypto.getRandomValues, the browser’s cryptographically secure generator, with rejection sampling so every number in the range is exactly equally likely. Turn off repeats to draw a list of unique numbers, for example for a raffle or lottery.

Runs entirely in your browser and works offline. Nothing you enter or upload leaves your device. Free, no sign-up.

Features

How to use Random Number Generator

  1. Enter the lowest and highest number, or tap a preset such as 1–100.
  2. Choose how many numbers you want and whether repeats are allowed.
  3. Optionally set decimal places and a sort order.
  4. Press Generate (or Enter), then copy or download the result.

Frequently asked questions

Are these numbers truly random?

They come from your browser’s cryptographically secure random number generator, which is seeded from your operating system’s entropy sources. That makes them unpredictable and suitable for fair draws, though, like all software generators, they are not from a physical process such as atmospheric noise.

How do I generate numbers without repeats?

Untick “Allow repeats”. Each number in the range can then appear at most once, so you cannot ask for more numbers than the range contains — 1 to 10 gives at most 10 unique numbers.

How do I pick lottery numbers?

Use the 6 of 49 preset, or set the range and count for your lottery (for example 1 to 49, six numbers) with repeats turned off and sorting ascending. Every combination is equally likely; no tool can improve your odds of winning.

Is the minimum and maximum included?

Yes. Both ends are included, so 1 to 6 can give 1, 2, 3, 4, 5 or 6, each with the same probability.

Can I use it for a giveaway winner?

Yes. Number your entries, set the range from 1 to the number of entries and generate one number. For names instead of numbers, the Spin the Wheel tool picks from a list.

Related tools

All free tools · This tool as Markdown