Random Number Generator
Draw random whole or decimal numbers from any range, with no-repeat batches and sorting.
Random number
Generated on your device. Nothing is sent or stored.
Range
Both ends are included in the draw. Negatives are fine.
Number type
Whole numbers only. Switch to decimal for fractional values.
Amount
Type any amount up to 10,000. Unique numbers only removes repeats within a single batch.
Order
How to generate random numbers online
Get a number instantly
A random whole number between 1 and 100 appears as soon as the page loads.
Set the range and amount
Type any min and max, negatives included, and choose how many numbers to draw, up to 10,000.
Refine and copy
Switch between whole and decimal numbers, toggle unique numbers only to avoid repeats, sort ascending, then copy the result with one click.
Why use this tool
Every number equally likely
Draws avoid the subtle skew that creeps into naive generators, so no part of the range is favored, even when the range is enormous.
Unique numbers mode
One toggle removes repeats within a batch, so a raffle draw of 10 gives 10 different winners.
Bulk batches with sorting
Generate up to 10,000 numbers at once, keep the draw order or sort ascending, and copy everything as one number per line.
Whole or decimal numbers
Switch to decimal mode and pick from one to six decimal places to draw random floating-point values instead of integers.
Negative and sixteen-digit ranges
Bounds run from minus to plus 9,007,199,254,740,991, negatives included, and results stay exact across the whole span.
Generated on your device
Numbers are created locally and never sent, stored, or logged anywhere.
About this tool
This random number generator draws whole or decimal numbers from any range you set, from a dice-style roll between 1 and 6 to a batch of thousands of draws across a sixteen-digit range. It runs the moment the page loads, and every change to the range, amount, or options produces a fresh batch instantly. Typical jobs are picking a giveaway winner by entry number, drawing row numbers to spot-check a spreadsheet, and calling on students in an order nobody can predict.
Fairness is the whole point of a random draw, and it is easy to get subtly wrong. A common shortcut squeezes a fixed-size random value into a range that does not divide it evenly, which quietly makes the low end of the range slightly more likely than the high end. The effect grows with the size of the range, so a draw across millions of entries can favor some numbers without anyone noticing. This tool discards those uneven leftovers and draws again instead, so every number in your range has exactly the same chance whether the range covers six values or quadrillions.
Unique numbers only turns the tool into a raffle machine: within one batch each number is drawn at most once, so 10 draws from a range of 500 give 10 different ticket numbers. Ask for more unique numbers than the range contains and the batch caps at the range size, with a note saying so. Switch to decimal mode to draw floating-point values with one to six decimal places, ask for batches as large as 10,000, use negative bounds, sort ascending, and copy the result as one number per line. For random strings instead of numbers, the password generator uses the same quality of randomness, the UUID generator makes random identifiers, and the percentage calculator turns a sample count back into a rate.
Frequently asked questions
- How random and fair are the numbers?
- Each draw comes from your browser's secure random source, the same quality of randomness used for encryption keys. The tool also avoids the subtle skew that makes naive generators favor part of the range, so every number between your min and max is equally likely. That makes it fair for giveaways, raffles, and sampling; regulated lotteries typically require certified draw equipment.
- What does unique numbers only do?
- It removes repeats within a single batch, so 10 unique draws give 10 different numbers, which is what you want for raffle tickets or door prizes. Uniqueness applies to one batch at a time; pressing Regenerate starts a fresh draw. If you request more unique numbers than the range holds, for example 100 from a range of 50, the batch caps at the range size and a note explains why.
- Can I use negative numbers or very large ranges?
- Yes. Min and max both accept negative values, and bounds can run to plus or minus 9,007,199,254,740,991, about sixteen digits. Draws stay exact and evenly distributed across the entire range, and large results are shown with thousands separators so they stay readable.
- Can it generate decimals?
- Yes. Switch the number type from whole to decimal and choose how many decimal places you want, from one to six. Each draw is then a floating-point value in your range, for example a random price between 0.00 and 9.99 to two places. Whole-number mode stays the default.
- Are the numbers sent or stored anywhere?
- No. Every number is generated on your device and never leaves your browser. Nothing is uploaded or logged, and once you leave the page the results are gone unless you copied them.
Related tools
Password Generator
Create strong random passwords or memorable passphrases, with control over length, characters, word count, and bulk output.
UUID Generator
Generate version 4 and version 7 UUIDs in bulk, with case and format options.
API Key Generator
Generate cryptographically random API keys and tokens in hex, base62, or base64url, with control over length, an optional prefix, and bulk output.
ASCII Table Reference
The full ASCII character set with decimal, hex, octal, binary, and HTML codes. Search by code, character, or name.
Atbash Cipher
Mirror the alphabet so A swaps with Z, B with Y, and so on. Atbash is its own inverse, so one field both encodes and decodes as you type.
Base32 Encoder and Decoder
Encode text to standard Base32 and decode Base32 back to text, following RFC 4648.