Generators
Random Number Generator
Generate random numbers in any range — single or in bulk, with or without repeats.
Updated February 12, 2026
How to use the random number generator
- 1Enter the minimum and maximum values (inclusive).
- 2Choose how many numbers to generate.
- 3Toggle Allow duplicates and Sort results as needed.
- 4Click Generate, then Copy to grab the results.
Common uses
- Draw giveaway or raffle winners fairly.
- Generate random samples for testing.
- Pick lottery-style number sets.
Frequently asked questions
Are the numbers truly random?
They come from crypto.getRandomValues, your operating system's cryptographically secure randomness source — unbiased and unpredictable, which is more than fair for draws and sampling.
How do I run a raffle where numbers can't repeat?
Set your range (e.g., 1 to 200 entrants), set how many winners to draw, and turn off Allow duplicates. Each drawn number is then unique.
Are the minimum and maximum included?
Yes — the range is inclusive on both ends. A range of 1 to 10 can produce both 1 and 10.
Can I generate a large batch?
Yes, up to 10,000 numbers at once. With duplicates off, the count can't exceed the size of the range.
About this tool
The random number generator produces numbers in any range you set, one at a time or in bulk. Options control whether duplicates are allowed (turn them off for raffle draws where each number should appear once) and whether results come sorted. Numbers are drawn from the browser's cryptographically secure random source, so results are unbiased — fair for giveaways, sampling, games, and quick decisions. Copy all results with one click.
Like everything on UtilityBase, the random number generator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more generators here.
Was this tool helpful?
Related tools
Random Name Picker
Paste a list of names and draw winners fairly — one at a time or several.
Generators
Password Generator
Generate strong random passwords locally with full control over characters.
Generators
UUID Generator
Generate RFC 4122 version 4 UUIDs — single or in bulk.
Generators
Percentage Calculator
What is X% of Y, percentage change, and 'X is what % of Y' — solved live.
Calculators
QR Code Generator
Create QR codes for URLs, text, or Wi-Fi — download as PNG or SVG.
Generators
Wheel Spinner
Spin a customizable prize wheel to pick a random winner from your entries.
Generators