Random Number Generator

Generate random integers or decimals within any range, pick how many you need, and keep them unique with no repeats. Everything runs in your browser — your data is never sent anywhere and nothing is stored.

How to use the random number generator

  1. Enter the Minimum and Maximum of your range (both ends are included).
  2. Set How many numbers you want, and tick Unique if none should repeat.
  3. Turn on Allow decimals and choose the number of decimal places for fractional results.
  4. Click Generate, then copy the result.

Handy presets: a range of 1–6 is a dice roll, 1–2 or 0–1 is a coin flip, and 0–99 gives a two-digit number. Whole-number results use crypto.getRandomValues for strong randomness.

More PAYATE tools

Frequently asked questions

How random are the numbers?

When your browser supports it, this tool uses the Web Crypto API (crypto.getRandomValues), which produces cryptographically strong random values — far better than ordinary Math.random(). If the Crypto API is unavailable, it falls back to Math.random() so it always works.

Can I generate numbers without repeats?

Yes. Tick Unique (no repeats) and every number in the output will be different. This only works when you ask for whole numbers, and the count cannot exceed the size of the range — for example a range of 1 to 6 can give at most 6 unique numbers.

Can it generate decimals?

Yes. Turn on Allow decimals and choose how many decimal places (0 to 10) you want. The generator then returns floating-point numbers between your minimum and maximum, rounded to that many places.

Is my data sent anywhere?

No. Every number is generated entirely in your browser — nothing is uploaded to a server and nothing is stored. You can even use it offline once the page has loaded.

Can I use it as a dice or coin flip?

Absolutely. Set the range to 1 and 6 for a dice roll, or 1 and 2 (or 0 and 1) for a coin flip. Increase the count to roll several dice at once.

Are the minimum and maximum included?

Yes. The range is inclusive on both ends, so a range of 1 to 10 can return both 1 and 10. The minimum must be less than or equal to the maximum.