Random Number Generator
Truly random numbers in any range — plus dice rolls and coin flips, all crypto-grade.
Pick a range and how many numbers you need — one lottery-style draw or up to 1,000 at once — and generate instantly. Turn off duplicates for raffle draws and prize picks where every winner must be unique, and sort the results if you want them in order. Dice and coin modes roll d4 through d20 dice with totals and flip coins with a running heads/tails tally.
Unlike many generators, this one uses your browser’s cryptographically secure randomness (crypto.getRandomValues) with unbiased rejection sampling — so no value in your range is ever slightly more likely than another. That matters when the draw has stakes: giveaways, raffles, random audits, or assigning teams fairly.
How to generate random numbers
- 1
Set your minimum, maximum, and how many numbers you want.
- 2
Toggle duplicates off for unique draws, and sorting on if you want ordered results.
- 3
Click generate, then copy the results — or switch to dice or coin-flip mode.
Why use Nofolo’s random number generator?
Crypto-grade randomness
Backed by crypto.getRandomValues with rejection sampling — statistically unbiased, unlike naive modulo tricks.
Any range, up to 1,000 numbers
Set any min and max and draw as many numbers as you need in one click.
No-repeats mode
Guarantee every number is unique — ideal for raffles, prize draws, and sampling.
Dice roller
Roll multiple d4, d6, d8, d10, d12, or d20 dice and see each roll plus the total.
Coin flipper
Flip up to 1,000 coins at once with a live heads/tails tally.
Copy everything
One click copies the full result list for spreadsheets, chats, or draw records.
Frequently asked questions
Are the numbers truly random?
They come from crypto.getRandomValues, your browser’s cryptographically secure generator — the same source used for encryption keys — refined with rejection sampling so every value in your range is exactly equally likely. For giveaways and audits this is as fair as software gets.
Can I generate numbers without repeats?
Yes — switch duplicates off and every number drawn is unique, like pulling tickets from a hat without putting them back. The range just needs at least as many values as the count you ask for.
How do I pick a random winner from N entries?
Number your entries 1 to N, set min 1 and max N with count 1, and generate. For multiple winners, raise the count and turn duplicates off so nobody wins twice.
Is a coin flip here really 50/50?
Yes — each flip is an independent, unbiased draw between heads and tails. Over a small number of flips streaks are normal; the tally converges toward 50/50 as the flip count grows.
What is modulo bias and why does it matter?
Naive generators map random bytes onto a range with a remainder operation, which makes low numbers slightly more likely whenever the range does not divide evenly. This tool discards out-of-range draws instead (rejection sampling), eliminating that bias entirely.
Related tools
Password Generator
Create strong random passwords and memorable passphrases — generated locally, never sent anywhere.
UUID Generator
Generate cryptographically random UUID v4s — one or a thousand — with code-ready formatting.
Percentage Calculator
Every percentage problem solved live — with the working shown, not just the answer.
Age Calculator
Your exact age in years, months, and days — plus a countdown to your next birthday.