Random number generator
Generate random numbers in any range, instantly and privately.
Your random numbers will appear here.
Number of values to generate at once.
Every number is drawn with your browser's cryptographic random source and never leaves your device.
Past draws will be listed here.
About the Random number generator
This random number generator picks truly random numbers in any range you choose — 1 to 10, 1 to 100, or any custom min and max. Generate a single number or a whole batch, force all results to be unique (perfect for lottery numbers or raffles), sort them, and copy with one tap. Every draw uses your browser's cryptographic random source, so the results are unbiased and never leave your device.
Random number generator features
- 01
Any range, one or many
Set the minimum and maximum (negatives allowed) and choose how many numbers to draw — from a single pick to a hundred at once. Quick-preset chips cover the common cases like 1-10, 1-100, a six-sided die and a 6/49 lottery.
- 02
Unique numbers & sorting
Toggle 'unique' so no number repeats — ideal for drawing lottery tickets, bingo balls or raffle winners — and sort the output ascending or descending. A running history keeps your last draws so you never lose a result.
- 03
Cryptographically fair & private
Numbers come from the Web Crypto API with rejection sampling, not the biased Math.random(). Everything runs locally in your browser — no server, no logging, no tracking.
Random number generator FAQ
- How do I generate a random number between 1 and 100?
- Set the minimum to 1 and the maximum to 100, leave the count at 1, and press Generate. You can also tap the '1-100' preset chip to do it in one click.
- Can it generate unique random numbers with no repeats?
- Yes. Turn on the 'unique' toggle and every number in the batch will be different. This is perfect for lottery draws, raffles and picking distinct positions. The count can't exceed the size of your range when unique is on.
- Is this random number generator actually random?
- It uses the browser's cryptographically secure random source (crypto.getRandomValues) with unbiased rejection sampling, which is far more random than the standard Math.random() used by most websites.
- Can I generate negative random numbers?
- Yes. Enter a negative minimum (for example -50 to 50) and the generator handles the full range, including zero and negative values.
- Are my numbers sent anywhere?
- No. The tool runs entirely in your browser. Nothing is uploaded, stored or logged — close the tab and the numbers are gone.
Related tools
Utility →Explore other tools
All tools →- Live
Split PDF
Split a PDF into single pages or custom page ranges in your browser, then download the results as separate PDFs or a ZIP file.
PDFFreeRuns locallyOpen - Live
Convert image
Convert between JPG, PNG, WebP, AVIF, GIF, and HEIC formats — free, private, in your browser.
ImageFreeRuns locallyOpen - Live
MKV to WebM
Convert MKV (Matroska) videos to WebM in your browser — files never leave your device.
VideoFreeRuns locallyOpen - Live
MP3 to WAV
Convert MP3 audio to uncompressed WAV in your browser — files never leave your device.
AudioFreeRuns locallyOpen - Live
JSON formatter
Pretty-print, minify and validate JSON.
DocumentFreeRuns locallyOpen