Random Number Generator
Pick a random number between any range — cryptographically secure, shareable via URL
Pick a random number between any range — cryptographically secure, shareable via URL
This random number generator uses the Web Crypto API's crypto.getRandomValues() — a cryptographically secure pseudo-random number generator (CSPRNG) built into every modern browser. Unlike Math.random(), CSPRNG output is statistically impossible to predict from prior results, making it safe for giveaways, raffles, and fair-draw evidence. Each number in your chosen range has equal probability (uniform distribution, rejection-sampling applied to avoid modulo bias).
Set your minimum and maximum values and click Generate, or use the quick buttons for 1-10, 1-100, 1-1000, dice (1-6), or coin flip. Press the 🔗 Share button after generating to copy a URL that reproduces the exact range and result — useful for showing raffle winners on X, Instagram, or Discord.
Random numbers are used everywhere: picking lottery numbers, rolling dice in board games, choosing a giveaway winner, assigning students to teams, making fair decisions, classroom activities, character stats in games, and research sampling. For binary decisions (yes/no, heads/tails), use the coin flip or yes-or-no tools. For team assignment, try the team generator.
This is a high-quality CSPRNG, not "true" random. For most use cases — giveaways, games, research sampling — CSPRNG is statistically equivalent to true random and faster. If you need physical randomness (atmospheric noise, radioactive decay) for cryptographic key material or regulated lotteries, use a dedicated service like RANDOM.ORG. For everyday "pick a random number" tasks, CSPRNG is the right tool.
Set your minimum and maximum values, then click Generate. You can also use quick buttons for common ranges like 1-10, 1-100, or dice rolls.
Yes. It uses the browser's crypto.getRandomValues() CSPRNG — cryptographically secure pseudo-random, suitable for giveaways, lotteries, research sampling, and decision-making. For atmospheric-noise true randomness, see RANDOM.ORG.
Yes. Set the range to match your lottery format (e.g., 1 to 49, or 1 to 69 for Powerball) and generate as many numbers as you need.
Click the "Coin" quick button to flip a virtual coin. The result will be either Heads or Tails with a 50/50 probability.
Click the "Dice" quick button to roll a virtual 6-sided die, generating a random number from 1 to 6.
Click the Generate button multiple times. Each result is saved in the history section below, showing up to 10 recent results.
Yes. After generating, click 🔗 Share to copy a URL that reproduces your range and result. Paste it into X, Instagram, Discord, or email as proof of a fair draw.
Click the 1-10 quick button, or set Min=1 and Max=10. For a pre-configured page, open /1-10/.
1-100 is the default. Just press Generate, or click the 1-100 button. See the dedicated page at /1-100/.
Yes — a simple URL-parameter API: /?min=1&max=100&auto=1 auto-generates on load. Embed in iframes or link from your app.