Flowfiles ← All tools

Between X and Y · With or without repeats · Integers or decimals · Crypto-secure · No upload

Random Number Generator

Pick a random number between any two values — or pull a whole batch at once. Set your minimum and maximum, choose how many numbers you want, and decide whether draws may repeat or must each be unique, the way you'd pull numbered tickets from a hat. You can return whole numbers or decimals, sort the result, separate it however you like, and switch to a cryptographically secure source for PINs and prize draws. Everything runs in your browser — no upload, no sign-up.

Type
Draw
Sort
Separator
Press Generate to draw your numbers.
Ready

Key features

Any range, inclusive

Set any minimum and maximum — negatives included — and both ends can come up. A 1 to 6 range really can return a 1 or a 6.

With or without repeats

Allow duplicates for independent rolls, or switch on unique mode to draw each value only once, like a raffle or lottery.

Integers or decimals

Return whole numbers, or decimals with 0–10 places for sampling, simulations and random weights.

Crypto-secure option

Use the browser's cryptographic generator for unpredictable PINs, passwords and prize draws — all still offline.

Frequently asked questions

How do I generate a random number between two values?

Enter your lowest value as the minimum and your highest as the maximum, set How many to 1, and press Generate. Both ends are inclusive, so a 1–6 range can return 1, 6 or anything between.

How do I generate numbers with no repeats?

Tick No repeats (unique). Each value is then drawn only once, like pulling numbered tickets from a hat. The count you request can't exceed how many values exist in the range, so 1–10 can give you at most 10 unique numbers.

Is this random number generator truly random?

By default it uses Math.random, which is fast pseudo-random and fine for games and everyday picks. Switch on Crypto-secure to draw from crypto.getRandomValues, which is unpredictable and better for PINs, passwords and prize draws.

Can I generate decimal numbers?

Yes. Choose the Decimal type and pick how many decimal places you want, from 0 to 10. The result is a random value anywhere in your range with that precision.

Is my data sent anywhere?

No. Every number is generated locally in your browser. Nothing is uploaded, and the page keeps working offline once loaded.

Random number guides