Random Number Generator

Generate random numbers, roll dice, pick from a list, or flip a coin.

About This Tool

Generate random numbers within any range, roll polyhedral dice (d4, d6, d8, d10, d12, d20), randomly pick names or items from a list, or flip a virtual coin. Perfect for games, classroom activities, decision-making, raffles, and more.

Uses your browser's built-in random number generator. Everything runs locally — no data is stored or sent anywhere.

Frequently Asked Questions

Are the numbers truly random?

The tool uses Math.random(), which provides pseudo-random numbers suitable for games, sampling, and everyday use. For cryptographic purposes, use a dedicated secure random generator.

Can I generate numbers without duplicates?

Yes. Uncheck 'Allow duplicates' in Number Range mode. The tool will generate unique numbers from your range (up to the range size).

What dice types are supported?

All standard polyhedral dice: d4, d6, d8, d10, d12, and d20. You can roll 1-6 dice at once. The total sum is shown when rolling multiple dice.

How does the list picker work?

Enter items one per line, set how many to pick, and click 'Pick Random.' The tool shuffles the list and picks the top N items. Great for raffle draws, random team assignments, or choosing what to eat.

How to Generate Random Numbers

Choose your mode: random number within a range, dice roller (any number of dice with any sides), random item picker from a list, or coin flip. Set your parameters and generate. Results use the Web Crypto API for true randomness.

When You Need Random Generation

Random selection removes bias from decision-making. Teachers use it for fair classroom participation. Raffle organizers ensure transparent drawings. Game masters roll dice for tabletop RPGs. Developers test applications with random data. Researchers randomize participant assignments.

Common Use Cases