Random Number Generator
Random
Pick a range, set how many numbers you want, and the tool draws them using the Web Crypto API for uniform, unbiased randomness. Toggle 'unique' to draw without replacement (good for lottery numbers), pick a sort order, or load a quick preset for 6/45 lotto, Powerball, or a couple of dice. Output copies in commas, spaces, or one number per line.
Presets
How to use
- Set the min / max range and how many numbers to draw.
- Toggle unique if you don't want duplicates.
- Pick a sort order and an output separator.
- Click Generate.
Frequently asked questions
- How random is it?
- Uses crypto.getRandomValues + rejection sampling so every number in the range is equally likely — no modulo bias even when the range doesn't divide evenly into 2³².
- Is it good enough for a real lottery draw?
- Statistically yes — the same primitive that powers TLS keys. For any official draw you'd still need an auditable process; this is for fair fun and fair selection.
- Why does 'unique' have a cap?
- If you ask for more unique numbers than fit in your range (e.g. 10 uniques in 1–5), there's no solution. The tool shows a warning instead of looping forever.
- What's Powerball / Lotto in the presets?
- Powerball uses 5 unique numbers from 1–69 (the main pool). Lotto-style 6/45 uses 6 unique from 1–45. Dice draws 3 numbers from 1–6 with duplicates allowed.
Related tools
Diceware Passphrase Generator
Memorable, high-entropy passphrases from a curated word list — generated with Web Crypto, never sent anywhere.
Group Maker
Split a list of names into balanced random groups — pick the group count or the people per group.
Raffle Draw
Pick N winners from a list of names — cryptographically random, with or without duplicates.
Dice & Coin Roller
Roll polyhedral dice (d4–d100) or flip a coin with cryptographic randomness.
Random Picker — Roulette & Ladder
Pick a winner with a spinning wheel or a ladder (ghost-leg) draw.
Password Generator
Generate strong, random passwords that never leave your browser.