🎲 Random Number Generator
Instantly generate cryptographically secure random integers or decimals within any range — completely free and runs offline in your browser with no sign-up or file uploads required.
Settings
Private by design. This tool runs entirely in your browser — nothing you enter is uploaded or stored, and it works offline.
About
This tool uses the browser's built-in crypto.getRandomValues API to produce unbiased, cryptographically secure random numbers — far stronger than Math.random(). You can generate up to 10,000 numbers at once, choose unique-only values, control decimal places, and copy all results with one click. Because everything runs in your browser, your inputs and results never leave your device — no server, no account needed.
How to use
- Set the Min and Max values for your desired range (e.g., 1 to 100).
- Enter the Count of numbers you want to generate (up to 10,000).
- Optionally check 'Unique values only' to avoid duplicates, or 'Decimals' to generate floating-point numbers and set decimal places.
- Click Generate (or press Enter) to produce your random numbers instantly.
- Click 'Copy all' to copy every result to your clipboard, or 'Regenerate' to get a fresh set.
FAQ
- Is this random number generator free?
- Yes, completely free with no hidden costs, no sign-up, and no usage limits.
- Does it work offline? Do I need an internet connection?
- Yes. The tool runs entirely in your browser. Once the page loads, it works without any internet connection.
- Do you upload my data or store my numbers on a server?
- No. All generation happens locally in your browser using JavaScript. Nothing is ever sent to a server.
- How is this different from Math.random()? Is it truly secure?
- Yes. This tool uses crypto.getRandomValues, the browser's cryptographically secure pseudo-random number generator (CSPRNG), which is far stronger and unbiased compared to Math.random().
- Can I generate unique random numbers without duplicates?
- Yes. Enable the 'Unique values only' option and the tool will guarantee no duplicate integers in your results, using a cryptographically secure Fisher-Yates shuffle.
- How many numbers can I draw at once?
- Up to 10,000 in a single draw. Set the count field to however many results you need and they are all produced in one pass, then listed so you can copy the whole set. For decimal output you can also choose how many decimal places to keep, anywhere from one to fifteen.
- Can I use this for a giveaway or prize draw?
- Yes. The numbers come from crypto.getRandomValues() rather than Math.random(), so a result cannot be predicted from earlier draws - which is the property that matters for a fair draw. Nothing is recorded anywhere, though, so if you need evidence of the outcome, copy or screenshot the result before you close the page.