Generate random numbers between any range. Generate one or multiple numbers, with or without duplicates.
Generate random numbers instantly — set your minimum and maximum range, choose how many numbers to generate, and optionally prevent duplicates. Perfect for lotteries, games, statistics, random sampling, picking winners, or making decisions. Uses cryptographically secure random generation (window.crypto). Everything runs in your browser — no data stored, truly random results.
Yes. This generator uses your browser's cryptographically secure random number generator (window.crypto.getRandomValues), the same source used for encryption. It's as random as software can produce — far better than Math.random().
Yes. Enable the "No Duplicates" option to ensure every generated number is unique. This is useful for lottery numbers, random sampling, or assigning unique IDs. The count can't exceed the range size when this is enabled.
Any integer range you want — from negative billions to positive billions. The generator works with any min/max combination. If min is greater than max, they're automatically swapped.
Yes. The cryptographic random source makes this suitable for fair drawings and lotteries. For official contests, check your local regulations about random selection methods.