Random Number

Generate a truly random number in any range. Instantly.

?
Set your range below
Advertisement
Min
Max
How many?
Advertisement

Free random number generator

Enter a minimum and maximum value, then click Generate. The result is a cryptographically random integer in your chosen range — every number has exactly equal odds of being selected.

Use the quick presets for common ranges (dice, 1–10, 1–100) or enter any range you need. You can also generate multiple numbers at once using the "Generate multiple" option.

Is this truly random?

Yes. We use crypto.getRandomValues() — the same cryptographically secure randomness your browser uses for HTTPS and security keys. Every number is genuinely unpredictable and independent of previous results.

What's the largest range I can use?

You can use any integers as min and max, including negative numbers. The generator handles very large ranges accurately.

Advertisement

Can I generate lottery numbers?

Yes — use the "Generate multiple" option and set the range to match your lottery (e.g. 1–49 for UK Lotto, 1–69 for Powerball). Note that this is for entertainment — genuine lotteries use certified hardware randomness.

Can I use negative numbers?

Yes — just type a negative number in the Min field. For example, min −50 and max 50 generates any integer between those values.

Are the multiple numbers unique?

By default, numbers can repeat (sampling with replacement). If you need unique numbers — like for a lottery draw — make sure your range is larger than the count you're generating.