Random Number Generator
Generate random numbers within any range.
Random numbers are essential for everything from selecting lottery numbers and picking contest winners to shuffling lists, statistical sampling, and game mechanics. Our free Random Number Generator uses your browser cryptographically secure PRNG to generate high-quality random numbers within any range.
Configure your generation: set the minimum and maximum values (inclusive), how many numbers you want, whether numbers should be unique (no repeats), and how many decimal places to include (0 for integers, up to 10 for floats). Click Generate to see the results.
The "unique numbers" option is useful for raffles, picking lottery-style numbers, or selecting random winners without duplicates. For example, to simulate a Powerball-style drawing of 5 unique numbers from 1 to 69, set min=1, max=69, count=5, unique=on, decimals=0.
All generation happens in your browser using the Web Crypto API, which is designed to be cryptographically secure and suitable for security-sensitive applications. Unlike the older Math.random(), this generator is not predictable even for attackers who can observe many outputs.