Random Number Generator
Generate one or many random integers between any two numbers. Useful for drawing lottery-style picks, picking winners, creating practice problems or making fair decisions. Unique mode prevents repeats within the range.
What this means
A random integer from a range means every value in that range has an equal chance. Crypto-based randomness ensures the result cannot be predicted or influenced.
How we calculate it
Formula
Each value v satisfies min ≤ v ≤ max, drawn uniformly via crypto.getRandomValues.Worked example
Pick 5 unique numbers between 1 and 60:
- 1Set min to 1 and max to 60.
- 2Choose count 5 and enable unique.
- 3Generate to get 5 distinct numbers.
Important assumptions
- Unique mode caps the count at the range size.
Frequently asked questions
Are the numbers truly random?
Yes. They come from the browser's cryptographic random generator, designed for unbiased unpredictable values.
What if my min and max are negative?
Negative ranges work the same way. For example, -10 to 10 with count 1 gives any integer in between.
Guide
Password Generator Guide: Length, Entropy and Security
The strongest passwords are long and random. Here is why length matters more than complexity.
Related tools
Password Generator
Create strong, random passwords with adjustable length and character sets.
Random Name Generator
Generate random realistic names for characters, brands and tests.
Team Splitter
Split a list of names into balanced random teams.
Wheel Spinner
Spin a customizable wheel to make a fair random decision.
QR Code Generator
Create a downloadable QR code for any URL or text, with colors and size.
Lorem Ipsum Generator
Generate placeholder paragraphs, sentences or words for mockups.