🛝Toolio
About Contact

🎲 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

Results

Private by design. This tool runs entirely in your browser — nothing you enter is uploaded, 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 it works: whole numbers come from crypto.getRandomValues with rejection sampling, which discards the few raw values that would make some results more likely than others, so every integer in the range, both ends included, has the same chance. With unique-only turned on, numbers are drawn without replacement (a partial Fisher–Yates shuffle for ranges of up to 200,000 values, re-drawing duplicates above that). Example: minimum 1, maximum 49, count 6 with unique-only gives a lottery-style draw from 13,983,816 possible combinations.

Limits: up to 10,000 numbers per draw. Unique-only works with whole numbers only, and it stops with an error if you ask for more unique numbers than the range holds (for example 7 unique numbers between 1 and 6). In decimal mode values are rounded to 1–15 places, so the two endpoints come up about half as often as any other value. There is no seed, so a draw cannot be reproduced, and results are not saved.

How to use

  1. Set the Min and Max values for your desired range (e.g., 1 to 100).
  2. Enter the Count of numbers you want to generate (up to 10,000).
  3. Optionally check 'Unique values only' to avoid duplicates, or 'Decimals' to generate floating-point numbers and set decimal places.
  4. Click Generate (or press Enter) to produce your random numbers instantly.
  5. 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.

Ran 195 times in the last 29 days. Measured on our own servers, 2026-09-06–2026-10-05.