HohoTools
中文

Random Number Generator

This free random number generator produces truly unpredictable integers using your browser's cryptographic random source (crypto.getRandomValues) — the same class of randomness browsers use for security tokens, not a rough mathematical imitation of it.

How to use

  1. Set the minimum and maximum of your range — both endpoints can be picked.
  2. Enter how many random numbers you need.
  3. Optionally tick "No repeats" so every number appears at most once.
  4. Press Generate and copy the comma-separated list from the result box.
ADAdvertisement — this space keeps HohoTools free

Frequently asked questions

How random are these numbers?

They come from crypto.getRandomValues, your browser's cryptographically secure random source — the same one used for security tokens. Each value in the range is equally likely: the generator detects and redraws any biased remainder instead of silently skewing the distribution.

What does "No repeats" do?

It treats the draw like pulling numbered balls from a hat: each number appears at most once. For small ranges the tool shuffles the whole range and takes what it needs, which is exactly fair; you just cannot ask for more unique numbers than the range contains.

Are min and max included?

Yes. Generating between 1 and 6 can return both 1 and 6, simulating a fair six-sided die.

Why integers only?

Cryptographic generators output whole 32-bit words, and most everyday uses — draws, dice, sampling, IDs — want whole numbers anyway. For decimal randomness, generate 0–999999 and divide, which keeps the random source's guarantees.

Is anything sent to a server?

No. The numbers are generated on your device with your browser's built-in randomness; nothing is uploaded, logged or stored.

Related tools

About this tool

This free random number generator produces truly unpredictable integers using your browser's cryptographic random source (crypto.getRandomValues) — the same class of randomness browsers use for security tokens, not a rough mathematical imitation of it. Set the minimum and maximum of your range (both endpoints included), choose how many numbers you want, and press Generate; the results appear at once as a clean comma-separated list ready to copy. Need every number to be different — raffle draws, assigning seats, sampling quiz questions, deciding turn order? Tick "No repeats" and the generator guarantees each value appears at most once, refusing only when your count exceeds the range itself. The algorithm rejects biased values instead of silently skewing the distribution, so every number in your range is equally likely. Everything happens on your device: nothing is generated on, logged by or sent to a server, there is no usage limit, and it keeps working offline once the page has loaded.