Random Number Generator
Pick random numbers in any range you choose. Set the lowest and highest value, how many you need, and whether they must be unique. Everything runs in your browser using secure randomness.
How to generate random numbers
- Set the minimum and maximum value for the range. Both ends are included.
- Choose how many numbers you want and toggle unique if they must not repeat.
- Click generate, then copy the results.
Examples
Pick 6 unique lottery numbers from 1 to 49
min 1, max 49, count 6, unique on
7, 12, 23, 31, 38, 44
Frequently asked questions
Are the numbers truly random?
They are cryptographically secure. The generator uses your device's crypto.getRandomValues with rejection sampling, so the spread is uniform with no modulo bias.
Are both the min and max included?
Yes. The range is inclusive on both ends, so a range of 1 to 6 can return any value from 1 through 6.
How do I get numbers with no repeats?
Turn on the unique option. Every number in the result will be distinct, which is ideal for draws and picking winners.
Why can't I get more unique numbers than I asked for?
Unique results cannot exceed the size of the range. To draw 10 unique numbers you need a range with at least 10 values, such as 1 to 10 or wider.
Can I use this for raffles, giveaways and random picks?
Yes. Set the range to match your entry numbers, choose how many winners you need, and turn on unique so nobody is picked twice.
Do my numbers get sent to a server?
No. Generation happens entirely in your browser, so nothing is uploaded and the results are private to you.
Related tools
UUID Generator
Generate random version 4 UUIDs online. Create one or thousands at once, with uppercase or no-hyphen options, then copy them. Free and private.
Password Generator
Generate strong, random passwords online. Choose length, letters, digits, symbols and skip look-alike characters. Created in your browser, never stored.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.
Base64 Decode
Decode Base64 to plain text online. Paste a Base64 or base64url string and get instant UTF-8 output. Free, fast and runs in your browser.