Skip to content

Random Number Generator for Draws and Games

Runs 100% in your browser — your text never leaves this page, and nothing is uploaded or stored.

This random number generator draws integers in any range you set — unique for draws and sampling, sorted if you want — free, with nothing recorded. Use it as a random number generator 1-100 for a raffle or classroom draw, or pick a random number between 1 and 10 for a game — unique values for draws, sorted output when you need it.

How to use the Random Number Generator

  1. Set the Minimum and Maximum — the defaults give you the classic 1 to 100.
  2. Set How many numbers you need — a single draw or a batch of up to 1,000.
  3. Tick All unique for draws and sampling, and Sort results if you want them in order rather than as drawn.
  4. Pick the Separator — comma, new line or space — then click Generate.
  5. Copy the numbers for your draw, game or dataset; generate again for a fresh set.

About this tool

From raffle draws and classroom cold-calls to test data and game nights, fair random numbers are quietly everywhere. This generator draws from your browser’s built-in random source with an even spread across the whole range — no favourites, no patterns: every value in the range is equally likely on every draw. The range is inclusive at both ends: with the defaults of 1 and 100, both 1 and 100 can come up. Values are whole numbers — anything else typed into the range fields is rounded down to an integer — and if you set the maximum below the minimum, the two are quietly swapped rather than treated as an error. A batch can run from a single number to a thousand. Unique mode deserves its fame: it samples without replacement, like drawing numbered balls from a bag without putting them back, so no value can appear twice in one batch. Ask for more unique numbers than the range holds and the tool refuses, with the arithmetic spelled out — it will not silently repeat values and ruin your draw. Choose how the results arrive: exactly as drawn, or sorted into order, separated by commas, spaces or line breaks to suit a spreadsheet, a script or a list. The numbers are generated locally and disappear when you leave the page — nothing about your draw is recorded. Randomness note: numbers are generated in your browser using its built-in pseudo-random source. They are fine for draws, games and sampling, but they are not cryptographically secure — do not use them for lotteries, gambling or security purposes. Common draws: a dice roll is 1–6, a quick game pick is 1–10, a raffle is usually 1–100, and larger draws can go up to 1–1000 or any range you set.

Worked example

Here is one batch generated with the default settings — yours will differ every time: Settings
Minimum 1 · Maximum 100 · How many 10 · Unique off · Sort off · Separator: Comma
You get (one possible result)
99, 15, 54, 68, 38, 77, 61, 1, 29, 15
The note reads “10 random numbers between 1 and 100.” Notice the 15 appearing twice — with Unique off, repeats are allowed, exactly as real chance behaves; blocking them would make the draw less random, not more. For a raffle, tick All unique and the same batch could never repeat a value.

Features

  • Inclusive ranges from −1,000,000 up to 1,000,000,000, with minimum and maximum auto-swapped if entered backwards.
  • Unique mode: sampling without replacement, with an honest refusal when the range is too small.
  • Batches from 1 to 1,000 numbers in a single click.
  • Sort results numerically, or keep them exactly as drawn.
  • Three separators — comma, space or new line — to suit spreadsheets, code or lists.
  • Private by design: numbers are generated locally and disappear when you leave the page.

Random Number Generator FAQs

Are the numbers really random?They come from your browser’s built-in random generator — unpredictable and evenly distributed, suitable for draws, games and sampling.
What does unique mode do?It samples without replacement: every number in the result is different, like drawing numbered balls from a bag without putting them back.
Can I generate decimals?This tool generates whole numbers. For decimals, generate integers and divide — or use a large range like 0–10000 to get two-decimal precision by placing the point yourself.
Is anything recorded?No — numbers are generated locally and disappear when you leave the page.
Are both end values included?Yes — the range is inclusive. With minimum 1 and maximum 100, both 1 and 100 are possible results, which is what draws and dice conventions expect.
Why did my batch contain the same number twice?Because repeats are allowed unless you tick All unique. True randomness permits repeats — in ten draws from 1 to 100, a repeated value is possible — about a 37% chance — but not more likely than not. Unique mode is the one to use when a repeat would spoil the purpose.
What happens if I set the maximum below the minimum?The two values are swapped automatically and generation proceeds — the tool assumes a slip of the fingers rather than an impossible request.
More online text generators →