Free Random Number Generator
Generate cryptographically secure random integers or floating-point numbers in any range. Produce up to 1,000 numbers at once. Copy results to clipboard in one click.
About the Random Number Generator
This tool uses the browser's Web Crypto API (crypto.getRandomValues()) to generate cryptographically secure random numbers. Unlike Math.random(), which is a pseudo-random function, crypto.getRandomValues() produces numbers suitable for security-sensitive applications including lottery systems, giveaway picks, and token generation.
Numbers are generated entirely in your browser — no data is sent to any server.
How to Generate Random Numbers
Set the Range
Enter minimum and maximum values. The range can be negative, zero, or any positive integer/float.
Choose Type
Select "Integer" for whole numbers or "Float" for decimals. Choose the number of decimal places for floats.
Set Count
Enter how many numbers to generate (1–1000). For a single result the large display is shown; for multiple, a list appears.
Generate & Copy
Click "Generate" to get results. Use "Copy" or "Copy All" to copy to clipboard.
Frequently Asked Questions
It uses crypto.getRandomValues(), which draws from the OS's cryptographically secure pseudo-random number generator (CSPRNG) — seeded from hardware entropy sources. This is the same source used for generating cryptographic keys.
Enable the "No duplicates" option (appears when count > 1) to shuffle and draw unique numbers from the range. Note this requires the range to contain at least as many integers as the requested count.
Yes — enter any negative value in the minimum or maximum fields. Ranges like −100 to −1 or −50 to 50 work fine.
Up to 1,000 numbers per generation. For bulk needs beyond that, click Generate multiple times and combine the results.