Random Number Generator

Generate random numbers in any range you set, one or many at once. No signup. Ideal for draws, sampling, games, testing and fair decisions.

Remove Ads
Remove Ads

Share on Social Media:

This free random number generator picks one number — or up to 100 at once — inside any range you set. Choose whole numbers or decimals, click Generate Numbers, and copy the result or download it as a text file. No signup, no install, no account.

On this page

  1. How to Generate Random Numbers Step by Step
  2. How Random Number Generation Actually Works
  3. Software RNG Versus Dice, Hats and Physical Draws
  4. Who Uses a Random Number Generator
  5. Pro Tips for Fair and Useful Results
  6. Common Random Number Mistakes to Avoid
  7. Related Tools You May Need Next
  8. Frequently Asked Questions

How to Generate Random Numbers Step by Step

  1. Set your range. Enter the smallest number in Lower Limit and the largest in Upper Limit. The defaults are 1 and 100. The upper limit must be higher than the lower limit — if it is not, the tool shows an error instead of a result. Use whole numbers for the limits (see the tips below).
  2. Choose how many numbers. In the “Generate” box, enter a number from 1 to 100. Leave it at 1 for a single pick, or set it to 10, 50 or 100 to get a whole list in one run.
  3. Pick Integer or Decimal. Choose Integer for whole numbers (the default) or Decimal for numbers with a fractional part. Integers can land on either end of the range; decimals fall between the limits.
  4. Click Generate Numbers. Your numbers appear in the Result box below the form, one number per line. Each press gives a fresh, independent result, so pressing again does not continue a sequence — it starts a new draw.
  5. Copy or download the result. Click “Copy to Clipboard” to copy the whole list, or the download button to save it as a random-number-generator.txt file. Copy or save before you run the tool again, because a new run replaces the old result.

Worked example: ten numbers between 1 and 100

Settings used: Lower Limit 1, Upper Limit 100, Generate 10 Numbers, type Integer. One real run of this tool produced:

76, 38, 56, 14, 79, 14, 62, 56, 57, 42

Your own run will give different numbers — that is the point. Notice that repeats are possible: 14 and 56 each came up twice, because every pick is independent. If you need decimals instead, the same kind of run with type Decimal over 0 to 1 produced 0.895420115605, 0.71315053613751, 0.91395942111318, 0.38583517097764, 0.036878698457057 — long decimals, each falling between the two limits.

OptionWhat it doesDefault
Lower LimitThe smallest number that can appear. Use a whole number.1
Upper LimitThe largest number that can appear. Must be higher than the lower limit.100
Generate … NumbersHow many numbers one run produces, from 1 to 100.1
IntegerWhole numbers only. Both ends of the range can appear.Selected
DecimalNumbers with a fractional part, typically 12–15 decimal places.—
Copy to ClipboardCopies the whole list at once.—
Save as TXTDownloads the list as random-number-generator.txt.—

Random number generator machine with input fields and number tiles

How Random Number Generation Actually Works

Randomness in software is subtler than it appears. Computers are deterministic machines, so most generate pseudo random numbers using an algorithm that produces a sequence which looks random and passes statistical tests, but is actually determined by a starting value called a seed. Given the same seed, the sequence repeats exactly, which is useful for reproducible simulations but is not true randomness. For a game, a quiz, or picking who goes first, a standard pseudo random generator is perfectly fair and indistinguishable from true randomness in practice. For security purposes such as generating passwords or cryptographic keys, only a cryptographically secure generator is acceptable, because a predictable sequence could be exploited. For a raffle among friends, either is fine.

Inclusive range and duplicates change everything. A one to ten range includes both ends, giving ten possible outcomes — in one real run of this tool over 1 to 10, the number 10 appeared, and 9 appeared three times. Each pick is independent, so a number can repeat: there is no switch to turn duplicates off. If you need five distinct raffle winners, generate more numbers than you need and take the first five different ones, or use a tool that draws without replacement. Set the range deliberately, because the wrong choice silently changes what is fair.

ModeWhat you getEnds of the range
IntegerWhole numbers, one per lineBoth ends can appear (1 and 100 both possible)
DecimalLong decimals, typically 12–15 placesValues fall between the limits; the upper limit itself is not returned

Software RNG Versus Dice, Hats and Physical Draws

AspectThis generatorDice, hats and physical draws
FairnessEvery number in the range has the same chanceFair if the dice are true and the draw is blind — hard to verify
DuplicatesRepeats happen; there is no no-duplicates modeDrawing without replacement gives no repeats by construction
BulkUp to 100 numbers in one clickOne draw at a time, slow for a large sample
RangeAny range you type inLimited by the dice or tickets you own
RecordCopy or download the list as a text fileSomeone must write the results down
SpeedInstantShuffling and drawing takes time

A physical draw feels more transparent — everyone can watch the names come out of a hat — while a generator is faster and handles ranges no hat can hold. For a public draw, generate the numbers in front of your witnesses or capture the screen at the moment of the draw, and keep the downloaded text file as the record.

Who Uses a Random Number Generator

Raffles and draws. An organiser picks a winner from ticket numbers 1 to 500, or draws ten numbers at once for a multi-prize raffle.

Games. A game master generates loot rolls, random encounters or a starting player without reaching for dice.

Fair decisions. Two friends who cannot agree let the generator pick who goes first, or which restaurant to try.

Teachers. A teacher picks a random student to answer, or builds a random sample of questions for a quiz.

Testers and developers. A tester generates sample data — random IDs, ages or scores — to check software with realistic input.

Sampling and surveys. A researcher picks random case numbers from a list so the sample is not chosen by hand.

Laptop on a desk showing a random number generator with a list of numbers

Pro Tips for Fair and Useful Results

Set the count before you generate. Decide whether you need one winner or a whole list first — the count field produces up to 100 numbers in a single run.

Use whole-number limits. The tool is exact with whole numbers. Decimal limits do not behave the same way, so keep the limits whole and use Decimal mode only for the results.

Copy or download before re-running. A new run replaces the old result on the page. Save the list first if you need a record.

Use Decimal only when fractions are needed. Whole numbers are easier to read, check and announce. Decimals suit measurements, probabilities and test data.

Generate in front of witnesses. If fairness needs to be demonstrable, run the draw where everyone can see it, and keep the downloaded text file as proof.

Plan for repeats. Because numbers can repeat, generate a few extra and take the first distinct ones when every pick must be unique.

Common Random Number Mistakes to Avoid

Picking yourself and calling it random. Humans are bad at random — we avoid repeats and favour familiar numbers. Let the tool pick.

Setting the range wrong. If the lower limit is equal to or higher than the upper limit, the tool shows an error instead of a result. Check that the upper limit is higher.

Assuming no repeats. Repeats are normal here — 14 and 56 each appeared twice in a ten-number run. There is no duplicates switch to turn off.

Using decimal limits. Limits like 1.5 to 2.5 do not behave like whole-number limits. Keep the limits whole.

Re-running and losing the result. A new run wipes the old list from the page. Copy or download it first.

Using it where unique numbers are required. This tool samples with replacement. For a draw where every number must be different, draw more than you need and take the first distinct ones.

Using random numbers for passwords or keys. This tool is for draws, games and sampling — not for security. Use a password generator for secrets.

Related Tools You May Need Next

Number Generator — a similar tool for generating numbers in a range. Random Picker — pick an item from a list you type in. Dice Roller — roll one or more dice with a click. Coin Flip — flip a virtual coin for a two-way decision. Password Generator — strong random passwords for accounts. Random String Generator — random letters, digits and symbols for codes and IDs. Percentage Calculator — percentages for scores, tips and discounts. Average Calculator — mean, median and more for a set of numbers.

Number cubes coming out of a random number generator machine

Frequently Asked Questions

How do I generate a random number?


Enter the lowest and highest numbers, choose how many you need (1 to 100), pick Integer or Decimal, and click Generate Numbers. The result appears below the form.

How many random numbers can I generate at once?


Up to 100 in a single run. Set the “Generate” box to any number from 1 to 100.

Can I generate decimals?


Yes. Choose the Decimal type. Decimals come out long — typically 12 to 15 decimal places — and fall between your two limits.

Can the same number appear twice?


Yes. Every pick is independent, so repeats happen. In one real ten-number run, 14 and 56 each appeared twice. There is no no-duplicates option.

What range can I use?


Any range, as long as the upper limit is higher than the lower limit. Use whole numbers for the limits for exact behaviour.

Is the random number generator free?


Yes. No account, no install, no signup. It runs on any device with a browser.

Can I copy or download the results?


Yes. Copy to Clipboard copies the whole list, and Save as TXT downloads it as a random-number-generator.txt file.

Why does it say the upper limit must be greater?


The upper limit has to be strictly higher than the lower limit. Equal limits, or a lower limit above the upper one, show an error instead of numbers.

Are the numbers truly random?


They are pseudo random: generated by an algorithm, unpredictable for draws, games and sampling. Do not use them for passwords or cryptographic keys.

Do I need an account?


No. No signup, no login. Set your range and generate.