Random Number Generator
Generate random numbers in any range, with or without repeats. Pick a number between 1 and 100, roll dice, or pick lottery numbers - free and private.
Powered by the Web Crypto API - cryptographically secure randomness.
Features
100% Browser-Based
All numbers are generated in your browser. Your settings and results never leave your device.
Free & No Sign Up
No registration, no limits, no hidden fees.
Instant Results
Generate up to 1,000 numbers in any range in real time - zero waiting.
Cryptographically Secure
Numbers come from the Web Crypto API, the same cryptographic source used for passwords - not the predictable Math.random().
No Duplicates, Sorting & Presets
Generate unique numbers without repeats, sort them ascending, or use one-click presets for dice, coin flips, and lottery picks.
How to Generate Random Numbers?
- Enter the Minimum and Maximum values of your range - for example 1 and 100.
- Set how many numbers you need, from a single pick up to 1,000.
- Optionally enable "No duplicates" to draw without repeats, and "Sort results" to order them.
- Click Generate - or use a quick preset for dice, coin flips, or lottery numbers.
- Click Copy to grab the numbers, or Download to save them as a text file.
Common Use Cases
Lotteries & Giveaways
Draw winning tickets or raffle numbers fairly. Use "No duplicates" so the same ticket can't win twice, and sort the results for easy reading.
Games & Tabletop
Roll dice (1-6 or any custom die), flip a coin (1-2), or generate damage rolls for tabletop RPGs - with cryptographic fairness.
Sampling & Statistics
Pick random sample IDs from a numbered population for surveys, audits, or experiments. Rejection sampling keeps every ID equally likely.
Classroom & Decisions
Pick a random student, choose who goes first, or settle a friendly dispute - quick, unbiased, and visible to everyone.
Tips for Using a Random Number Generator
- ✓ For giveaways and raffles, enable "No duplicates" so every entry can win at most once.
- ✓ The Web Crypto source used here is cryptographically secure - suitable for passwords, tokens, and fair draws.
- ✓ Sorting results makes multi-number picks easier to read, but keep the unsorted order to preserve the true draw sequence.
- ✓ Negative ranges work too: Minimum -50 and Maximum 50 generates numbers between -50 and 50 inclusive.
- ✓ To simulate a die, set the range to 1-6; for a coin flip use 1-2 and treat 1 as heads, 2 as tails.