Random Number Generator
Free random number generator: pick numbers in any range, with or without repeats, decimals and sorting, from a cryptographic RNG in your browser. No sign-up.
This random number generator picks whole or decimal numbers between a minimum and maximum you choose. It uses crypto.getRandomValues, the browser’s cryptographically secure generator, with rejection sampling so every number in the range is exactly equally likely. Turn off repeats to draw a list of unique numbers, for example for a raffle or lottery.
Runs entirely in your browser and works offline. Nothing you enter or upload leaves your device. Free, no sign-up.
Features
- Cryptographically secure and unbiased
- Unique numbers (no repeats) for raffles and lotteries
- Decimals up to 10 places and negative ranges
- Thousands of numbers at once, with sum and average
- Copy or download as a text file
- Runs offline; nothing is sent anywhere
How to use Random Number Generator
- Enter the lowest and highest number, or tap a preset such as 1–100.
- Choose how many numbers you want and whether repeats are allowed.
- Optionally set decimal places and a sort order.
- Press Generate (or Enter), then copy or download the result.
Frequently asked questions
Are these numbers truly random?
They come from your browser’s cryptographically secure random number generator, which is seeded from your operating system’s entropy sources. That makes them unpredictable and suitable for fair draws, though, like all software generators, they are not from a physical process such as atmospheric noise.
How do I generate numbers without repeats?
Untick “Allow repeats”. Each number in the range can then appear at most once, so you cannot ask for more numbers than the range contains — 1 to 10 gives at most 10 unique numbers.
How do I pick lottery numbers?
Use the 6 of 49 preset, or set the range and count for your lottery (for example 1 to 49, six numbers) with repeats turned off and sorting ascending. Every combination is equally likely; no tool can improve your odds of winning.
Is the minimum and maximum included?
Yes. Both ends are included, so 1 to 6 can give 1, 2, 3, 4, 5 or 6, each with the same probability.
Can I use it for a giveaway winner?
Yes. Number your entries, set the range from 1 to the number of entries and generate one number. For names instead of numbers, the Spin the Wheel tool picks from a list.
Related tools
- Spin the Wheel — Wheel of names or options with weights, remove-the-winner mode and confetti
- Flip a Coin — Animated heads or tails coin toss with a tally, streaks, best-of-N and many coins at once
- Dice Roller — Roll d4 to d100, several dice, modifiers and RPG notation like 2d6+3 or 4d6kh3
- Password Generator — Strong random passwords, passphrases and PINs
- UUID Generator — Generate RFC 4122 version 4 UUIDs in bulk