Skip to content
§
§ · free tool

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 Heroes
quick presets
Generated locally in your browser — nothing is uploaded.
Fair by construction: numbers come from crypto.getRandomValues with rejection sampling, so there is no modulo bias — every value in your range is exactly equally likely.

Result

Hit Generate or tap a preset to draw.

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.

§ 02 · what you can do

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.
§ 03 · how to use it

Five steps, no manual.

  1. Set your Min and Max values — decimals are fine, and swapped bounds are fixed automatically.
  2. Choose how many numbers to draw (1–1000) and the number of decimal places if you need fractions.
  3. Tick Unique to prevent repeats, or Sort ascending to order the results.
  4. Click Generate (or press Enter in any field) — or tap a preset such as d6, Coin flip or Lotto 6/49.
  5. Copy the result or download a CSV. Your numbers never leave your device.
§ 04 · faq

Frequently asked questions.

Is the Random Number Generator free?
Yes — completely free for everyone. No sign-up, no account and no usage limits.
Is it private? Is anything uploaded?
No upload, ever. Numbers are generated on your own device using your browser's built-in cryptographic generator — nothing is sent to a server.
Are the numbers truly random and fair?
They come from 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?
Yes — tick Unique (no repeats). Draws use an unbiased partial Fisher–Yates shuffle, and the tool warns you if you ask for more unique numbers than distinct values exist in your range.
Can it generate decimal numbers?
Yes — choose 1 to 6 decimal places. The range is scaled internally so every decimal step is sampled with exactly equal probability, keeping decimal draws just as fair as integers.
Where is my draw history stored?
Your last 10 draws are saved in this browser only (localStorage) and reload when you come back. Click any history row to copy it, or hit Clear to wipe the list — nothing is stored on a server.

Published · Last updated .

Online now

Hi there. How can we help you today?

Reply