How do I generate a random number?
Set the lowest and highest numbers, choose how many numbers you want, and click Generate. This free random number generator picks whole numbers in your range, including both end values, so 1 to 100 can return 1 or 100. For a single pick, set the count to 1; for a list, raise the count up to 1,000. Negative ranges work too (for example -50 to -1), and if you enter decimal bounds they are rounded down to whole numbers. Every click produces a fresh, independent set: past results never influence future ones. Click Copy result to copy the numbers as a comma-separated list for a spreadsheet, chat or document, and Clear to reset the display.
How random are the numbers?
Numbers are drawn with crypto.getRandomValues, the cryptographic random source built into your browser, the same family of randomness used for security tokens. The tool uses rejection sampling: it discards the rare random values that would make some numbers in your range slightly more likely than others, so every value has exactly the same probability. That makes the generator suitable for fair picks where the result must not be biased, such as raffles, giveaways, classroom selection, team assignment and games. It is still a computer random source, so treat it as fair and unpredictable for everyday decisions rather than as a certified lottery system. No number is ever “due”: each draw is independent, and streaks are a normal part of randomness.
How do I pick numbers without duplicates?
Tick No duplicates and each number can appear only once in the set, like drawing balls from a lottery machine without putting them back. The Sample button loads a classic example: 6 unique numbers from 1 to 49, sorted low to high. The range must contain at least as many values as the count you request; if you ask for 6 unique numbers from 1 to 5, the tool shows a clear message instead of looping forever. Without the option ticked, duplicates are allowed and expected: picking 50 numbers from 1 to 2 will repeat values many times. Use unique mode for lottery-style picks, assigning distinct numbers to people, and sampling without replacement in experiments.
What can I use a random number generator for?
Anywhere a fair, unbiased pick beats a human choice: raffle and giveaway winners, picking a student to answer, choosing a starting player, generating lottery-style number sets, dice substitutes for games (1 to 6), random test data for spreadsheets and code, selecting random samples for surveys or quality checks, and settling quick decisions like who pays for lunch. Teachers use it to call on students fairly; organizers use it to assign booth numbers or table seats; developers use it to fill test databases with realistic values. Because the range and count are flexible, the same tool covers a coin-flip style 1-or-2 pick and a 1,000-number sample from a million-value range.
Can I generate decimal or negative numbers?
This generator returns whole numbers (integers), which is what most picks, games and draws need. Negative whole numbers are fully supported: set the lowest number to -100 and the highest to 100 to draw across zero. If you need decimals, generate whole numbers and divide: draw from 0 to 1000 and divide by 10 for one decimal place between 0.0 and 100.0, or use the range 0 to 100 for a quick percentage-style value. For random dates, passwords or names, dedicated tools do a better job: a password generator handles character sets and strength, and a date calculator handles calendar math. Here, the focus is fast, fair integers in any range, with duplicates and sorting under your control.
Is it free and private?
Yes. The random number generator is free, with no signup, no account and no limits on how many sets you generate. Numbers are produced in your browser and never sent to a server, stored or logged; they disappear when you close or reload the tab, and nothing about your ranges or results is tracked. The tool is an everyday fairness aid, not an official draw system: for regulated lotteries, gambling or legal prize draws, use the certified process your jurisdiction requires. For classroom picks, games, raffles among friends, test data and quick decisions, this page gives you unbiased numbers in any range instantly, with a copy button for sharing the result.