Random Number Generator
Generate random integers in any minβmax range β one number or up to 100 at once, with a unique-numbers mode, crypto-grade randomness, and presets.
Loading tool controlsβ¦
Verify it yourself: press F12, open the Network tab, and use this tool β your files are never uploaded.
Random Number Generator at a glance
- Price
- Free
- Account
- Not required
- File uploads
- None β your files are never uploaded
- Category
- Utility Tools
Who uses Utility Tools?
Anyone handling everyday tasks β QR codes, passwords, timers, random picks and screen recording.
How to Use Random Number Generator
Follow these simple steps to get instant results in your browser.
Set Min, Max & Quantity
Enter the smallest and largest values and how many numbers you want (1β100).
Choose Unique or Repeats
Turn on 'Unique numbers only' when repeats are not allowed, such as a lottery draw.
Generate & Copy
Click Generate, then copy the results with one click or view the smallest, largest, and average values.
What is Random Number Generator & How Does It Work?
The Random Number Generator produces random integers in any range you choose β one number or up to 100 at once, with an optional unique-numbers mode that never repeats a value.
Numbers are generated with the browser's cryptographic random source (crypto.getRandomValues) where available, so results are uniformly distributed across your range. One-click presets cover dice rolls (1β6), 1β100, and a 6/49 lottery draw.
Everything runs locally in your browser. Copy the results with one click β no account, no downloads, no data leaves your device.
Key Features & Capabilities
Crypto-Grade Randomness
Uses crypto.getRandomValues when available for uniformly distributed, unpredictable results.
Up to 100 Numbers at Once
Generate a single number or a whole batch, with smallest, largest, and average statistics.
Unique Numbers Mode
Guarantees no repeats β ideal for lottery draws and raffles.
One-Click Presets
Instant presets for a dice roll (1β6), 1β100, and a 6/49 lottery draw.
Pro Tips
- β’Bookmark this tool for instant one-click access anytime.
- β’Drag and drop files directly onto the input surface for fastest handling.
- β’All processing happens in your browser session for maximum speed and data safety.
π― Common Use Cases
Random Integer - Uniform Range
The tool draws a random 32-bit value from crypto.getRandomValues, takes it modulo the size of your range, then shifts it by the minimum β so every integer from Min to Max is picked with an equal chance, to within one part in 45 million from the modulo. Only when crypto is unavailable does it fall back to Math.random.
Worked Example
- 1Range: Min 1, Max 100 (100 possible values)
- 2Random 32-bit value drawn: 2,023,456,789
- 32,023,456,789 mod 100 = 89
- 4Random integer = 1 + 89 = 90
- 5Result: 90 β with 2^32 possible random values spread over 100 outcomes, each number has a 1-in-100 chance to within one part in 45 million.
Frequently Asked Questions about Random Number Generator
Frequently asked questions
More Utility Tools
Complementary utilities for your workflow
Random Number Generator
Generate random numbers in any range, with unique mode and copy.