Random Number Generator
Draw one number or a batch from a range you choose. Keep whole numbers out across a single browser session, then copy a clear local draw record.
What is the Random Number Generator?
This random number generator gives you one or many unpredictable numbers inside a range you choose. Set a minimum and maximum, decide how many numbers you want, and the tool returns whole numbers or decimals on the spot. Unlike a one-off picker, it can also carry a whole-number pool across successive draws.
Draw without replacement for one session
Turn on Keep numbers out until reset for a classroom picker, raffle, or turn order: every successful whole-number draw removes its values from the current pool, including later clicks. The remaining count makes the committed range clear. Reset pool starts a fresh local session and clears its history.
How to use it
- Set a minimum and maximum. Whole-number ranges can include negative values.
- Choose how many values to draw. Change this between draws without resetting an active pool.
- Enable Keep numbers out until reset for a no-repeat sequence.
- Press Generate or Enter in a numeric field, then review the receipt.
- Copy the result, transparent local record, or a ready-to-share AI / LLM prompt.
The method behind it
Randomness comes from your browser, not a remote server. Where available, the tool uses the Web Crypto API (crypto.getRandomValues), with a standard Math.random fallback for older browsers. Whole-number results include both ends of the range, and the generator maps raw randomness without favoring the low or high end.
Normal draws are independent, so a number can appear again. The pool mode instead draws whole numbers without replacement: selected values remain unavailable until you reset. Decimal values are independent, which is why pool mode turns off automatically when Whole numbers only is disabled.
A transparent local draw record
Each receipt preserves the values, committed range, request type, pool state, browser random source, and local draw time. History exists only while this page remains open: it is useful context for a facilitator, not a tamper-proof certificate or a server audit trail.
Examples
- Pick a winner, 1–100: min 1, max 100, count 1 → for example
73. - Draw 6 raffle tickets, 1–500: enable Keep numbers out until reset → for example
412, 38, 207, 9, 311, 156. - Random decimal for a simulation, 0–1: Whole numbers only off, 4 decimal places → for example
0.6172.
Common use cases
- Giveaways and raffles — draw a winner or several ticket numbers with clear local context.
- Classrooms — pick a student, divide groups, or randomize question order without repeats.
- Sampling and research — select a random subset of rows, participants, or survey IDs.
- Games and tabletop play — generate dice-free rolls, random stats, or starting positions.
- Development and testing — make sample values or choose a random batch from a safe range.
Why use this one
Most online random number tools give you a bare value and nothing else. This one keeps flexible ranges, batch draws, a session-wide no-repeat workflow, and a copyable local receipt on one screen. It needs no account or installation, but it does not claim to provide a public audit log, a certificate, or tamper-proof proof.
Need a different kind of random decision? Try the Password Generator, Dice Roller, or Coin Flip.
Frequently asked questions
How do I generate random numbers in a specific range like 1 to 100?
Set the minimum to 1 and the maximum to 100, leave the count at 1, and press Generate. You get a single whole number that is at least 1 and at most 100, with both ends of the range included. Change min and max to any whole numbers (including negatives) to draw from a different range.
What does Keep numbers out until reset do?
Turn on Keep numbers out until reset for whole-number draws. The tool then draws without replacement across consecutive Generate clicks in this page session, so earlier picks stay excluded like raffle tickets left out of the bag. It shows how many numbers remain, keeps a bounded local history, and lets you Reset pool. Decimal mode does not support this pool.
Are these numbers truly random?
They are cryptographically strong pseudo-random numbers. Where your browser supports the Web Crypto API the tool uses crypto.getRandomValues, which is suitable for security-sensitive picks; otherwise it falls back to the standard Math.random. For casual draws, games, and sampling this is more than random enough, and the result is unpredictable and unbiased across your chosen range.
Can it generate decimal numbers, not just whole numbers?
Yes. Turn off integer mode and set the number of decimal places to get random decimal values inside your range — useful for simulations, randomized pricing tests, or generating sample data. Decimal values use a finite grid at your chosen precision. Keep numbers out until reset is available for whole numbers only.
Are my results sent anywhere or saved?
Typed settings, generated values, the session pool, and the draw history stay in your browser and are not stored on a server. The optional min, max, and count settings in a URL query string are different: because they are part of the URL, they can appear in ordinary host or CDN request logs. A copied draw record is a transparent local session record, not tamper-proof proof.