Local · Private · Free

Random Number Generator

Cryptographically fair numbers with no modulo bias — any range, decimals, unique draws, dice, coins and lottery picks, all on your device.

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.

About Random Number Generator

Random Number Generator is a free, private productivity tool that runs entirely in your web browser. Cryptographically random numbers — ranges, count, unique mode, sorting, lottery & dice presets. Because everything happens locally on your device, your files and data are never uploaded to a server, there is no sign-up or installation required, and it keeps working offline. It is handy for random number generator, rng, random picker, lottery numbers. Like every HeroTool by Digital Heroes, Random Number Generator is 100% free with no limits.

How to use Random Number Generator

  1. Open Random Number Generator — it runs entirely in your browser, with no signup.
  2. Fill in the fields or choose the options you want.
  3. Adjust the options to match exactly what you need.
  4. Copy or download your result — it is free, and your data stays on your device.

Frequently asked questions

Is Random Number Generator free?

Yes — Random Number Generator is completely free for everyone. No sign-up, no account and no usage limits.

Is it private? Are my files uploaded anywhere?

No. Random Number Generator runs entirely in your browser on your own device, so your data never leaves your computer and nothing is uploaded to a server.

Does it work offline?

Yes. HeroTools is a Progressive Web App — once the page has loaded it keeps working offline, and you can install it as an app from your browser.

Do I need to install anything or create an account?

No. Just open the page and start using it. Installing it as an app is optional and only adds offline convenience.

What does Random Number Generator do?

Cryptographically random numbers — ranges, count, unique mode, sorting, lottery & dice presets.