Random Number Generator
Cryptographically secure random numbers — single numbers, multiple lists, dice rolls, coin flips, lottery picks, shuffled sequences, weighted picks, Gaussian distribution, random dates, colors, UUIDs, and list draws. Free, instant, nothing uploaded.
Free Random Number Generator — Cryptographically Secure
This free random number generator uses Web Crypto API (crypto.getRandomValues) for unpredictable, bias-free results. Generate single numbers, lists, dice rolls, coin flips, lottery picks, shuffled sequences, weighted picks, Gaussian values, random dates, colors, UUIDs, and list draws.
All Generator Modes
- Single number — Any range, integer or decimal (up to 6 decimal places). Six quick presets: 1–10, 1–100, 1–1000, 0–1M, -100–100, 0–255.
- Multiple numbers — Generate lists with no-duplicate option, sort ascending, choose separator (newline/comma/space/pipe), download as .txt.
- Dice roller — d4, d6, d8, d10, d12, d20, d100. Multiple dice + modifiers. Natural 1s highlighted red, max rolls in orange.
- Coin flip — Single or batch flips (up to 100). Shows heads/tails count, percentage, and H:T ratio.
- Lottery numbers — Powerball, Mega Millions, EuroMillions, UK Lottery, Canada 6/49, OZ Lotto, or fully custom settings.
- Sequence shuffler — All integers in a range, in random order. Every number exactly once.
- Weighted random — Custom probability weights per option. Live percentage bars.
- Gaussian distribution — Normal bell curve with custom mean and standard deviation. Sample statistics on bulk generations.
- Special generators — Yes/No decision, random percentage, random date range, random hex color, UUID v4, random pick from custom list.
Frequently Asked Questions
Is this random number generator truly random?
This tool uses crypto.getRandomValues() from the Web Crypto API, seeded by the OS entropy source (hardware noise, timing jitter). It is cryptographically secure — unlike Math.random(), which is a deterministic PRNG. Rejection sampling eliminates modulo bias.
How do I generate random numbers without repeats?
In the Multiple tab, check "No duplicates." In the Sequence tab every number from Min to Max appears exactly once in random order — guaranteed unique. Ideal for raffle draws.
How do I roll dice online?
Use the Dice tab. Select dice type (d4–d100), set count and modifier, click Roll. Natural 1s appear red, max rolls orange. The total with modifier is shown prominently.
How do I generate Powerball or Mega Millions numbers?
Use the Lottery tab. Select Powerball or Mega Millions — the correct rules (5 from 1–69 + Powerball 1–26 for Powerball; 5 from 1–70 + Mega Ball 1–25 for Mega Millions) are pre-configured. Click Generate and numbers are drawn without replacement per real lottery rules.
What is a weighted random generator?
A weighted generator gives different probabilities to different outcomes. Option A at weight 50, B at 30, C at 20 means A is chosen 50% of the time. Use it for game loot tables, A/B test traffic splits, and decision simulations.
How do I pick a random winner from a list?
Use Special → Random from List. Paste names one per line, set how many to pick, click Pick. Draws without replacement when selecting multiple winners.
What is a UUID and how is it generated?
A UUID v4 is a 128-bit random identifier in the format xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx. The "4" indicates version 4 (random). This tool generates them using crypto.getRandomValues() with the correct version and variant bits set per RFC 4122.
