Skip to content
NWS Kit

Random Number Generator

Generate random numbers in a range, with or without duplicates.

Set a range and press Generate.

Runs on this deviceSent to a server: 0 bytes

How it works

  1. Type in your numbers.
  2. The answer updates as you type.
  3. Change any figure to compare. Nothing you enter is sent anywhere.

Picks one or more random whole numbers in a range you set, optionally without repeats. Handy for raffles, choosing a winner, sampling rows from a list, or settling who goes first.

Where the randomness comes from

Numbers come from the browser's cryptographic random source, crypto.getRandomValues, rather than Math.random — the same source used to generate encryption keys. With “unique” on, numbers are drawn until the set has the count you asked for, so no value appears twice.

Worked example

Six unique numbers from 1 to 49 is a lottery-style draw. There are 13,983,816 possible combinations, so any particular set of six has a 1 in 13,983,816 chance.

Random is not the same as auditable

The numbers are unpredictable, but nobody else can verify how they were drawn. For a prize draw with legal requirements, or anything where participants need to trust the result, use a method they can witness — or record the screen and publish the settings in advance. Streaks and repeats in random output are normal, not a sign that something is broken.

Questions

Is the Random Number Generator free to use?

Yes. The Random Number Generator is completely free, with no account, no sign-up and no usage limits.

Does my data leave my device?

No. The Random Number Generator runs entirely in your browser. Nothing you type is uploaded, logged or stored on a server.

Can I use the Random Number Generator on my phone?

Yes. The page works in any modern mobile or desktop browser, and there is nothing to install.

What else is in Everyday?

The calculators you reach for daily — basic math, percentages, tips, averages. You can browse the full Everyday category for related calculators.