Skip the island and read the website

Random Number Generator — Fair Draws, Any Range

← Safe HarborThe Creative Island · Island 14

Pick a number between anything and anything — once or many times, with or without repeats.

How to use this tool

  1. Set your range (1–100, 1–6 for dice, 1–49 for lottery style).
  2. Choose how many numbers and whether repeats are allowed.
  3. Press Draw — each press is a fresh, independent draw.

Example

Class raffle with 60 students: From 1, To 60, How many 3, No repeats → three distinct winners in one click, immune to the 'whose handwriting wins' effect of paper draws.

The formula

rejection-sampled crypto.getRandomValues → uniform integers, no modulo bias

What the result means

True fairness in draws comes from uniform randomness — this generator rejects out-of-range values before mapping (avoiding modulo bias) and uses the browser's cryptographic source, the same one that guards HTTPS. That's a stronger guarantee than dice, and far stronger than 'the boss picks'.

Frequently asked questions

Can I use it for a raffle or giveaway?

Yes — it's a fair draw: every number has identical probability. For public trust, screenshot the result.

Why no repeats by default?

Most draws (winners, orderings) want unique picks. Uncheck it for independent events like dice rolls.

Is the randomness really cryptographic?

Yes — crypto.getRandomValues, seeded by your operating system's secure entropy pool. Math.random is only used as a fallback on ancient browsers.

Are my draws recorded?

No — nothing is stored or sent; refresh and the history is gone.

More tools from Safe Harbor

Explore the island world

Comments