All tools

Random number generator

Draw one or many random integers inside a range you define. Use it for raffles, classroom picks, game setup, or quick simulations. Enable “unique” when you need draws without repeats — for example, lottery-style picks from 1 to 50. Everything runs locally in your browser; numbers are not logged or sent anywhere.
Min
Max
Count

How to generate random numbers

1. Set the minimum and maximum of your range (inclusive).
2. Enter how many numbers you want to draw.
3. Turn on “unique” if repeats are not allowed.
4. Click Generate and copy the result if needed.

Example uses

Classroom raffle (1–30, one winner)

Set min 1, max 30, count 1. Each click gives a fair pick for “who presents next” or a prize draw.

Lottery-style picks without repeats

For 6 unique numbers from 1 to 49, set count 6, enable unique, and generate. If the range is too small for the count, the tool shows an error instead of repeating.

Dice substitute for board games

Need a d6? Set min 1, max 6, count 1. For 2d6, set count 2 and read both values (or use the dedicated dice roller for sums).

When to use this tool

When you need unbiased integer picks within a defined range.
When you want unique draws for raffles, bingo callers, or sampling.
When you prefer a local browser tool over a spreadsheet RAND function.

When to choose something else

For cryptographically secure secrets — use a password manager or OS-level secure random API.
For weighted or non-uniform distributions — you need custom code or statistics software.
For decimal fractions — this tool outputs whole integers only.

Uniform random integers

Each integer in your range has equal probability when unique is off. That is the standard definition of a fair lottery: no number is favored. When unique is on, the tool samples without replacement — like drawing names from a hat without putting them back.

Unique draws and range size

Unique mode requires count ≤ (max − min + 1). Asking for 10 unique numbers between 1 and 5 is impossible, and the tool tells you so. For large pools (e.g. 1000 names, pick 50 unique IDs), make sure the numeric range is wide enough.

Games, teaching, and quick experiments

Teachers use random picks for participation and group formation. Board-game players substitute for lost dice. Developers prototype shuffle logic. Because results stay on your device, you can use it in classrooms or meetings without uploading participant lists.

Frequently asked questions

Are the numbers truly random?

They are pseudo-random, generated in your browser with JavaScript’s Math.random(). That is fine for games and classroom use, but not for security or gambling audits.

What does “unique” do?

Each drawn number appears at most once. You need at least as many integers in the range as the count you request — otherwise generation fails.

Are min and max inclusive?

Yes. Min 1 and max 10 includes both 1 and 10.

Can I generate negative numbers?

Yes. Set a negative minimum, e.g. min −10 and max 10.

Is my data sent to a server?

No. Generation happens entirely in your browser.

Can I copy the result?

Yes. Use the copy button on the result card.

Is there a limit on how many numbers I can draw?

Practical limits depend on your range size when unique is on. Very large counts may be slow but everyday use (dozens of picks) is instant.

Is this tool free?

Yes, with no account required.