Random Number
Generator
Generate truly random numbers between any range. Pick lottery numbers, roll dice, flip a coin, or generate a unique set with no repeats. Instant, free, no signup.
Is this truly random?
This generator uses JavaScript's crypto.getRandomValues() API where available — the same cryptographically secure randomness used in security applications. This is significantly more random than the older Math.random(), which uses a pseudorandom algorithm that can produce patterns. For everyday use (games, contests, decisions), both are perfectly fine.
Unique numbers explained
When "No repeats" is checked, each generated number appears only once in the output — like drawing from a hat without putting anything back. The maximum quantity you can generate is limited to the size of your range (max − min + 1). For example, if your range is 1–10, you can only generate up to 10 unique numbers. Uncheck "No repeats" to allow duplicates.
Common uses
Picking contest winners fairly. Lottery number selection. Assigning random order to a list. Randomizing homework problems or quiz questions. Running randomized A/B tests. Random seat assignments. Picking a number in a game. Generating a random PIN or one-time code (use a dedicated tool for security-critical uses). Resolving disputes between equally good choices.
How lottery number picks work
The Lottery quick tool generates 6 unique random numbers between 1 and 49 — matching the format of many national lottery games (like Lotto 6/49). The main generator can be customized for any lottery: Powerball (1–69, pick 5 + 1–26), Mega Millions (1–70, pick 5 + 1–25), EuroMillions (1–50, pick 5 + 1–12 Lucky Stars). Just set your range and count accordingly.
Generate truly random numbers, roll virtual dice, or pick unique random numbers from a range.