Random Number Generator

Whether you are drawing a raffle winner, picking lottery numbers, sampling rows from a dataset, or settling an argument, you need randomness you can trust. This generator uses the browser’s cryptographic random source rather than the weaker Math.random, and can enforce unique results for draws.

How to use it

  1. Set the minimum and maximum of your range — both ends are included.
  2. Choose how many numbers to generate.
  3. Turn on "unique values" for draws where a number cannot repeat.
  4. Generate, then copy the results in one click.

Frequently asked questions

Is this random enough for a prize draw?

It uses crypto.getRandomValues, the same source browsers use for security-sensitive work, and rejects biased values rather than taking a simple modulo. That is well beyond what a raffle requires.

What does "unique values" do?

It draws without replacement, so no number appears twice — the right setting for lottery-style picks or assigning people to slots. It requires the range to be at least as large as the count.

Can I generate random decimals?

This tool produces whole numbers. For decimals, generate integers over a larger range and divide, for example 0–10000 divided by 100 for two decimal places.

Do the numbers repeat if I refresh?

No. There is no seed and no history, so every generation is independent. If you need a reproducible sequence you would need a seeded generator instead.

All free tools · Blog · About · Contact

Also available in: Español · Português · Français · Deutsch