←
Utilities

Random Number Generator

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Random numbers in any range

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Offline use
Works without a connection once this page has loaded
Built with
Web Crypto
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About Random Number Generator

Random Number Generator picks one or many random numbers between a minimum and a maximum you choose, both included. You can generate up to 10,000 numbers at once, require them to be unique (no repeats, like drawing lottery balls), sort the result, and choose 0 to 6 decimal places. Presets cover rolling a die, flipping a coin (0 or 1), picking a number from 1 to 10 or 1 to 100, and drawing 6 of 49.

Numbers come from your browser's cryptographically secure generator, crypto.getRandomValues, not from Math.random. To avoid modulo bias, values outside the largest multiple of the range are rejected and redrawn, so every number in the range has exactly the same chance. Unique draws use a Fisher–Yates shuffle. Nothing is sent to a server; the result list can be copied as lines, commas or spaces.

Random Number Generator runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use Random Number Generator

  1. Enter the Min and Max values (both are included) and How many numbers you want.
  2. Under Options, turn on No repeats, Sort ascending or set Decimal places if needed.
  3. Click Generate. The result appears in large digits and in the Numbers list.
  4. Click Copy to copy the list, or choose a preset such as Dice or 6 of 49.

Frequently asked questions

Are the numbers truly random?

They come from crypto.getRandomValues, the operating system's cryptographically secure pseudo-random generator, which is suitable for draws, games and security purposes. They are unpredictable but not from a physical source such as atmospheric noise.

Is every number equally likely?

Yes. A simple 'random value modulo range' makes some numbers slightly more likely. This tool uses rejection sampling: random values that would cause bias are thrown away and drawn again, so the distribution is exactly uniform.

Are the minimum and maximum included?

Yes, both ends are inclusive. With Min 1 and Max 6 you get 1, 2, 3, 4, 5 or 6, each with a probability of 1/6.

How do I pick numbers without duplicates?

Turn on No repeats. The count can then be at most the number of values in the range; for example 6 unique numbers from 1 to 49 works, but 60 does not.

How do decimal places work?

With 2 decimal places and a range of 0 to 1, the tool picks uniformly from 0.00, 0.01, … 1.00 (101 possible values). Use up to 6 decimal places for finer steps.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it