Random Number Generator

Randomness mode
Pool size remaining: 0 / 100
0%
Used: 100 • Remaining: 0

Result

Share settings
Click Generate to get numbers.

History

No history yet.

TL;DR — set a range, choose secure or seeded RNG, avoid repeats with a pool, and export your draws

This free random number generator is a flexible number picker you can use for raffles, giveaways, classroom picks, or whenever you need a random number between two values. Choose any Min/Max, decide how many numbers you want, and control repeats with a per-draw unique option and an optional no-repeat pool. Use Secure (crypto) mode by default, switch to Seeded for reproducible sequences, or keep it simple with Standard. Presenter Mode makes big-screen reveals easy, and you can export results as CSV/JSON. Everything runs locally in your browser.

Random Number Generator — online RNG, number picker, and raffle helper

Need a quick random number between 1 and 100? Want to pick 6 unique numbers from 1–49 for a raffle? This Random Number Generator is built for the real questions people ask, not just a single “Generate” button. It works as an online RNG, a number picker without repeats, a basic lottery-style number generator, and a classroom randomizer—all while keeping your data on your own device.

By default, the tool uses the browser’s Web Crypto API (crypto.getRandomValues) for secure randomness that’s more robust than simple Math.random(). That’s a good fit for everyday tasks like raffles, giveaways, random name picks, test questions, or generating sample IDs. When you need to prove that a draw was fair, switch to Seeded mode and publish the seed, range, and settings. Anyone can plug them back in and confirm that they get the exact same sequence of random numbers.

The generator has two layers of “no repeats.” First, you can turn off Allow duplicates so each draw returns unique numbers inside that single result set. Second, you can enable the Pool to avoid repeats across rounds. The pool tracks which values have already been drawn and won’t return them again until you reset it. This is perfect for “call each number once” scenarios: raffle tickets, classroom rolls, random presentation orders, or picking winners from a list of IDs.

Common presets save you from retyping popular ranges: 1–10 for quick decisions, 1–100 for standard “pick a number” games, 1–1000 for test data, 1–6 as a digital die, and 6 unique numbers from 1–49 for lottery-style draws. You can still override any value. If there are numbers you never want to see (like 0, 13, or anything else), add them to the Exclude list without changing your Min and Max. Results can be shown in the order they’re drawn or sorted ascending.

For live use—meetups, streams, classrooms, and workshops—turn on Presenter Mode. It enlarges the numbers so the whole room can see the result on a projector or shared screen. Keyboard shortcuts make it fast: press Enter to generate and Ctrl/Cmd + C to copy. When you’re done, export the current result as .csv or .json, or download a complete History CSV that includes your past draws for auditing.

All of this stays private. There’s no login and no server-side processing. Your range, mode, pool, excludes, and history live in your browser thanks to local storage. The shareable URL only encodes your configuration—not your previous results—so you can send a reproducible setup to a friend or future you without exposing what has already been drawn.

How to use the Random Number Generator

  1. Set your range: enter Min and Max, or click a preset like 1–10, 1–100, 1–1000, 1–6 (die), or 6 unique from 1–49.
  2. Choose how many numbers you need: set Count. Turn off Allow duplicates to keep each result list unique, or enable the Pool to avoid repeats across multiple draws.
  3. Pick a mode: use Secure (crypto.getRandomValues) by default. Use Seeded for reproducible sequences in public draws, or Standard (Math.random()) for casual use.
  4. Generate and present: click Generate, view the numbers, enable Presenter Mode for large screens, copy them, or download CSV/JSON.
  5. Share and reuse: copy the shareable URL to reload the same settings later or share your configuration with others.

Key features

  • Generate random integers between any Min and Max
  • Secure randomness (Web Crypto API) enabled by default
  • Seeded mode for deterministic, reproducible sequences
  • No-repeat pool across multiple rounds with remaining/total progress
  • Unique within a draw (no duplicates) or allow duplicates
  • Exclude list to skip specific numbers (e.g., 0, 13, 42)
  • Optional ascending sort and keyboard shortcuts (Enter to generate, Ctrl/Cmd+C to copy)
  • Presenter Mode for large, screen-friendly reveals
  • Presets: 1–10, 1–100, 1–1000, 1–6 (die), 6 unique from 1–49
  • CSV/JSON export for current results and history CSV export
  • Shareable URL for reloading settings, with all data stored locally
  • Fast, private, and 100% client-side

Tips

  • For raffles or giveaways, use Seeded mode and publish the seed plus settings so anyone can verify the sequence.
  • Teachers: turn on the Pool and Presenter Mode to pick students or questions at random without repeats.
  • If Count is larger than the number of available unique values, either widen your range or allow duplicates.
  • Use the Exclude box to remove specific numbers without changing your Min/Max range.
  • Save the share URL as a bookmark to reload the same RNG configuration in one click.

Frequently asked questions

Does the share link include my previous results?
No. The shareable URL encodes your settings only (range, count, mode, pool, excludes, seed), not your past results or history. Anyone opening the link sees the same configuration, but not the draws you already made.
What should I use for security-critical randomness?
Secure mode uses the Web Crypto API, which is strong for most everyday tasks. That said, you shouldn’t rely on any web page RNG to generate secrets, cryptographic keys, or high-value lottery numbers that must meet strict regulatory standards. Use dedicated tools for those cases.
Can I keep drawing random numbers without repeats across rounds?
Yes. Enable the Pool. Each time you click Generate, drawn values are removed from the remaining pool until it’s empty. The progress bar shows remaining versus total. Click Reset pool to start fresh with the same range and excludes.
How do presets work?
Presets pre-fill Min, Max, and Count for common tasks, such as 1–10, 1–100, 1–1000, 1–6 (die), or 6 unique from 1–49. They’re just shortcuts—you can still adjust the values afterward.
Can I export random numbers and history?
Yes. You can download the current result as .csv or .json. There’s also a History CSV export that includes draws from your current session, which is handy when you need an audit trail for a giveaway or classroom activity.

Related tools

Percentage Calculator · Unit Converter · Time Duration Calculator