Random Number Generator
Generated in your browser, never sent to a server.
What is Random Number Generator
A random number generator picks one or more numbers within a range you set, using your browser's built-in cryptographic random source instead of a predictable formula. You control the minimum, the maximum, how many numbers to produce, whether they include decimal places, and whether repeats are allowed.
How to use
- Enter the minimum and maximum values for the range.
- Set how many numbers you want to generate.
- Choose decimal places if you need numbers with a fractional part.
- Check 'No repeated numbers' if each value should appear only once.
- Click Generate to produce the numbers, then copy the result.
When to use it
Running a raffle with 200 tickets sold and 5 prizes to give away? Set min to 1, max to 200, count to 5, and turn on no repeats. You get a fair draw in one click, with zero chance of pulling the same ticket twice.
Frequently asked questions
Is this random number generator truly random?
It uses the Web Crypto API (crypto.getRandomValues), the same cryptographically secure source browsers use for encryption keys, not a simple pseudo-random formula.
Can I generate numbers with decimals?
Yes. Set the decimal places field to any value from 0 to 9 to get numbers like 3.14 instead of whole numbers only.
What does 'No repeated numbers' do?
It guarantees each generated value is unique. This only works for whole numbers, and only when the range is large enough to hold the count you asked for.
Are the numbers sent to a server?
No. Everything runs locally in your browser. Nothing you enter or generate is ever transmitted.
Related tools
Barcode Generator
Generate EAN-13 or Code 128 barcodes online. Enter your number or text, download as SVG or PNG. Free, no signup needed.
Color Scheme Generator
Generate complementary, analogous, triadic, split-complementary, and tetradic color schemes from any base color. Free online color scheme generator.
CSS Box Shadow Generator
Create CSS box shadows with a live preview. Adjust offset, blur, spread, color and opacity, stack layers and copy the ready to use CSS.