Random Number Generator

Works fully offline

Set a minimum, maximum, and how many numbers you need, and get a random result instantly.


    

Overview

This generates whole numbers uniformly at random within a chosen range, using the same cryptographically secure random source as the site's Password Generator rather than JavaScript's plain Math.random(), so results aren't predictable from prior outputs. It can generate a single number or a batch, and optionally guarantee no duplicates across the batch — useful for anything from picking a raffle winner to drawing a unique sample.

Examples

Single number

Min 1, Max 100
57

Unique batch

Min 1, Max 49, Count 6, no duplicates
3, 17, 22, 28, 35, 44

How It Works

  1. Enter the minimum and maximum values (inclusive).
  2. Enter how many numbers to generate.
  3. Optionally check "No duplicates" to draw each number at most once.
  4. The generated number(s) appear instantly.

Use Cases

Picking a winner

Draw a random entry number from a raffle or giveaway range.

Sampling

Draw a random, duplicate-free sample of IDs or ticket numbers from a range.

Tips

  • "No duplicates" requires the range to contain at least as many values as the count requested — asking for 10 unique numbers between 1 and 5 isn't possible and returns an error.

FAQ

No. Numbers are generated entirely in your browser using the Web Crypto API.

The generator uses a cryptographically secure random source, the same standard used for security-sensitive randomness, but this tool is provided for general everyday use — check any relevant local regulations before using it for a formal draw.

Related Tools