Random Number Generator
Generate random numbers within a custom range.
Generated locally in your browser. Nothing is sent to a server or stored.
- Draw a single number or a whole batch at once.
- "No repeats" mode draws from a shrinking pool, so a batch has no duplicates.
- Uses `crypto.getRandomValues` — a cryptographically secure random number generator (CSPRNG), not `Math.random()` — and runs entirely on your device.
Why this is private
- Generated locally in your browser. Nothing is sent to a server or stored.
- Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
- Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.
Overview
Generates one or more random integers within a minimum and maximum range (both inclusive), with an option to draw without repeats.
How to use it
- 1Set the minimum and maximum values.
- 2Choose how many numbers to generate.
- 3Optionally disallow duplicates.
- 4Click Generate, then copy the results.
Frequently asked questions
What people use it for
Pick a raffle or giveaway winnerSet the range to the number of entries and draw one.
Draw several unique numbersTurn on "no repeats" to pick, say, 6 distinct numbers from 1–49.
Randomise an orderGenerate a shuffled set of positions for a running order or test cases.
Get a quick samplePick random row numbers to spot-check a spreadsheet.
Related tools
All developer toolsUUID GeneratorGenerate random UUID v4 or time-ordered UUID v7 identifiers in bulk.Secure Password GeneratorGenerate strong, cryptographically random passwords or memorable word-based passphrases.Color Palette GeneratorGenerate, lock, and export harmonious color palettes.QR Code GeneratorGenerate a QR code for a URL, WiFi network, contact card, email, phone number or SMS — with your own colors and logo.
Ready to use Random Number Generator?
Random Number Generator