Home › Calculator Tools › Random Number Generator
Generate single or multiple random numbers within any range — with options for unique numbers, decimal places, and batch generation.
Random number generator · range · count · unique · decimal · sort · copy all results
Enter the minimum and maximum values, choose how many numbers to generate, and toggle whether duplicates are allowed.
Click to produce the random numbers. Regenerate as many times as needed.
Results are displayed in a copyable list, sorted if desired.
Numbers are generated using the browser’s crypto.getRandomValues() API — a cryptographically secure random number generator (CSPRNG). This is genuine randomness, not a pseudo-random sequence with a predictable pattern. It’s appropriate for lotteries, sampling, security tokens, and any use where predictability is a concern.
Yes. Enable the “No duplicates” option and the generator ensures all numbers in the batch are unique — equivalent to randomly sampling from the range without replacement. This is useful for drawing lottery numbers, creating random seating arrangements, or picking a subset without repetition.
The range can be any integers (or decimals) within JavaScript’s safe integer bounds (±2^53). Batch size is practically unlimited for small ranges; for very large batches of unique numbers, performance depends on the density of the range.
Yes. Enable decimal output and set the number of decimal places (1–8). The generator produces random floats within the specified range with the chosen precision.
Generate social sharing meta tags for Facebook and LinkedIn.
Craft SEO titles with a live Google SERP preview.
Validate and format your JSON-LD code before publishing.
Write compelling meta descriptions for your pages.
Random number generation has a wider range of uses than it might initially appear — lotteries and prize draws, randomised sampling for research, A/B test assignment, game mechanics, shuffling a deck or team assignment order, generating seeds for simulations, and testing with varied inputs. The key property that makes this generator trustworthy for these uses is that it uses a cryptographically secure random source (crypto.getRandomValues()), not a seeded pseudo-random algorithm whose output is theoretically predictable. For draws and selections where fairness matters, this distinction is important.
All generation runs in your browser. No data is transmitted to any server.