Random Number Generator
Generate cryptographically random integers in a range. All in your browser.
Try it with this example
Set range 1 to 100 and generate. Enable "Unique" to avoid duplicates across multiple clicks.
What is this tool?
The Random Number Generator produces cryptographically random integers within a range. Set min and max (e.g. 1 to 100) and generate. Optional "unique" mode avoids duplicates across multiple clicks—useful for lotteries, sampling, or when you need a set of distinct numbers. Uses the browser's secure randomness. All generation runs client-side. No server, no storage. Each number is drawn from a uniform distribution over the range.
Enter the range: min and max inclusive. Generate one number or many. With "unique" enabled, each new number is different from previously generated ones (within the session). Once all numbers in the range are exhausted, the tool may reset or indicate no more. For small ranges (e.g. 1–10) and many draws, unique mode prevents repeats. For large ranges, repeats are unlikely anyway.
Use it for lotteries or draws. For random sampling (pick 5 from 100). For dice simulations (1–6, 1–20). For testing when you need random but reproducible ranges. For placeholder data in demos. The tool is for quick generation—for scripting, use your language's random module. This one is instant and requires no code.
All processing is client-side. Copy numbers as needed. The generator doesn't log or store them. Bookmark it for quick random number needs.
Simple, fast, and secure.