Random Number Generator
Draw 1–10,000 random integers from crypto.getRandomValues with rejection sampling — optional unique mode and sorting.
Numbers come from crypto.getRandomValues with rejection sampling — no modulo bias. Integer range is min…max inclusive.
How to use
- Set the minimum and maximum (inclusive).
- Set how many numbers to draw.
- Toggle unique-only and sorting as needed.
- Generate, then copy or re-roll.
Example
Input: 1–100 · 6 numbers · unique
Output: Six distinct integers, e.g. 7, 23, 41, 58, 79, 92
How it works
Numbers are drawn with the browser's cryptographically secure random source within the range you set. No seed is stored, so results cannot be predicted or reproduced.
Limits & compatibility
- Integers only — decimal draws are out of scope.
- Unique mode requires the range to be at least as large as the count.
- Draws use the full 32-bit space with rejection sampling (no modulo bias).
Privacy
Numbers come from your browser's crypto engine. Nothing is transmitted, logged or stored.
Related tools
Questions about Random Number Generator
Is my input private?
Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.
How accurate is the result, and what are the limits?
The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.
What happens to files I open with this tool?
Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.