Random number generator. Fair by construction.
Cryptographically fair numbers with no modulo bias — any range, decimals, unique draws, dice, coin flips and lottery picks. Everything is generated locally in your browser; nothing is uploaded.
A free online tool by Digital Heroescrypto.getRandomValues with rejection sampling, so there is no modulo bias — every value in your range is exactly equally likely.Result
History (last 10 draws)
Why “no modulo bias” matters
The lazy way to make a random number, random() % range, slightly favours smaller values whenever the range doesn't divide evenly into the generator's space. This tool instead draws 53-bit values from your browser's cryptographic generator and rejects the few that would skew the result, so dice rolls, raffle picks and lottery lines are genuinely uniform. Unique draws use an unbiased partial Fisher–Yates shuffle. Everything happens on your device — free forever, nothing uploaded.
Every draw you'll ever need.
- Generate integers or decimals in any min/max range — up to 1,000 numbers at once, with up to 6 decimal places.
- Draw unique numbers (no repeats) for raffles, giveaways and fair team picks, via an unbiased partial Fisher–Yates shuffle.
- Roll dice and flip coins with one click: d6, d20 and a 50/50 coin-flip preset.
- Run lottery draws instantly: Lotto 6/49 or a 5+1 bonus-ball pick with the bonus highlighted in amber.
- Sort, copy and export: order results ascending, copy them to the clipboard or download a CSV file.
- Review your last 10 draws in the history panel — click any row to copy it again. Stored only in your browser.
Five steps, no manual.
- Set your Min and Max values — decimals are fine, and swapped bounds are fixed automatically.
- Choose how many numbers to draw (1–1000) and the number of decimal places if you need fractions.
- Tick Unique to prevent repeats, or Sort ascending to order the results.
- Click Generate (or press Enter in any field) — or tap a preset such as d6, Coin flip or Lotto 6/49.
- Copy the result or download a CSV. Your numbers never leave your device.
Frequently asked questions.
Is the Random Number Generator free?
Is it private? Is anything uploaded?
Are the numbers truly random and fair?
crypto.getRandomValues — a cryptographically secure generator — combined with rejection sampling, so there is no modulo bias and every value in your range is exactly equally likely. That makes it fair for raffles, prize draws, dice games and random picks.Can I generate unique numbers with no repeats?
Can it generate decimal numbers?
Where is my draw history stored?
Published · Last updated .