Digital ToolPad.

Runs 100% in your browser

Your data never leaves your device. zero uploads.

Random Number Generator

Pick one or thousands of random numbers from any range. Avoid repeats, exclude numbers, sort the results and copy them in one click.

  • Cryptographic randomness
  • No repeats option
  • Exclude numbers
  • Up to 10,000 at once

Quick presets

Choose a range and press Generate. Your number appears here.

What is a random number generator?

A random number generator (RNG) picks numbers so that every value in a range is equally likely and no result can be predicted from the previous ones. This generator draws from any range between −1,000,000,000 and 1,000,000,000, with up to four decimal places. It can return a single number for a quick decision or thousands of unique numbers for a raffle, sample or game, with specific numbers excluded.

How to use Random Number Generator

  1. Choose a preset such as 1–10, 1–100 or Lottery 6 of 49, or type your own minimum and maximum.
  2. Set how many numbers you need. Tick No repeats if each number may appear only once, and Sort if you want them in order.
  3. Optionally list numbers to exclude, such as 7, 13 or a range like 20-25.
  4. Press Generate. Copy the result or look back through the history of earlier draws.

Why use this random number generator

  • Genuinely unbiasedCryptographic random values with rejection sampling give every number the same odds, unlike quick Math.random() tools.
  • No repeats, exclusions and sortingDraw unique numbers, skip numbers already used, and sort the results for tickets or seat lists.
  • Big, readable resultA large display works on a projector or shared screen for classroom and live draws.
  • Private and offline-readyThe draw runs on your device. Once the page is loaded it keeps working without a connection.

Popular uses

  • Raffles and giveaways. Assign each ticket a number, then draw winners with No repeats on.
  • Classroom activities. Pick a question number, a student number or a page to read.
  • Games and decisions. Roll a virtual die, choose who goes first or settle a tie.
  • Sampling and testing. Select random rows, IDs or test values for audits and experiments.

How fair is it?

  • Results come from your browser’s Web Crypto API (crypto.getRandomValues), the same source used for passwords and encryption keys. Values that would bias the result are discarded and redrawn (rejection sampling), so every allowed outcome has exactly the same chance. Nothing is sent to a server, so nobody can influence or record the draw.
  • With No repeats on, the generator draws without replacement: every set of distinct numbers is equally likely.
  • Past results never influence the next draw. The same number can come up twice in a row when repeats are allowed.

More ways to decide at random: flip a coin, roll dice, spin a wheel of names, split people into random teams or organise a Secret Santa.

Example: draw 3 raffle winners from 250 tickets

Set Minimum 1, Maximum 250, How many 3, and tick No repeats. Exclude any void tickets (for example 17, 98). Press Generate and you get three different ticket numbers. The history keeps each draw so you can show how the winners were picked.

What to expect from the result

The generator is designed for everyday draws, games and sampling. It does not produce an independently audited certificate, which some regulated lotteries and prize draws require. Ranges are limited to ±1 billion and 10,000 numbers per draw.

Random Number Generator questions

How do I generate a random number between 1 and 100?

Choose the 1–100 preset (or set Minimum 1 and Maximum 100) and press Generate. Each number from 1 to 100 has exactly a 1% chance.

Can I generate random numbers without repeats?

Yes. Tick No repeats and the generator returns distinct numbers, drawing without replacement. It warns you if you ask for more unique numbers than the range contains.

Is this random number generator truly random?

It uses the browser’s cryptographically secure generator, which is suitable for passwords and keys, and removes modulo bias with rejection sampling. For everyday use it is indistinguishable from true randomness.

Can I exclude certain numbers?

Yes. Type numbers or ranges in Exclude numbers, for example “7, 13, 20-25”. Excluded values are never drawn.

Is it free, and is anything stored?

It is free with no sign-up. Numbers are generated on your device and the history lives only in this tab until you close or clear it.

100% private — your data never leaves your browser

No registration, no tracking of your content, no server uploads. Don't just take our word for it:

  • No server, no uploads

    Your files and text are processed entirely on your device. Nothing is ever sent to us.

  • Works offline

    Once loaded, this tool keeps working with your Wi-Fi turned off. Try it.

  • Verify it yourself

    Open your browser's DevTools → Network tab. You'll see zero requests carrying your data.

Explore more tools

More utilities for your next task.

Browse all tools