deftools.io Productivity

Random Generator

A Swiss-army random generator: random numbers in a range, dice rolls (d6, d20, custom), coin flips, and pick-N from a custom list. Optional seed for reproducible results, statistics, history, and one-click export.

Result
Press the button to generate…
History
Quick actions
Copied!

About this tool

A four-in-one random tool that covers the common cases where you reach for "give me a random thing": numbers in a range (lottery tickets, sample data, biased picks), dice rolls (tabletop games, RPGs), coin flips (quick binary decisions), and pick-N from a list (raffles, who buys lunch, student-cold-call).

Example: in Numbers mode, set Min 1, Max 50, How many 5, tick "No duplicates", and you get five distinct lottery-style draws like 23, 7, 41, 12, 38. In Pick from list, paste five names, set How many 1, and one name is chosen at random.

The optional seed mode turns randomness reproducible: same seed → same sequence of results. Handy for testing demos, generating stable mock data, or letting two people on different machines draw the "same" random outcome.

FAQ

Is the randomness truly random?

Without a seed it uses the browser's built-in Math.random, which is a pseudo-random generator suitable for games, draws, and mock data — not for cryptography. For cryptographic randomness use a dedicated password generator.

Why use a seed?

A seed makes the generator start from a known state, so every run with that seed produces the identical sequence. This is useful for reproducible test data, repeatable demos, or sharing a specific random draw with someone else.

How are unique numbers guaranteed?

For small integer ranges the tool shuffles the full pool of valid values and takes the top N — so every value is genuinely unique without rejection loops. For larger ranges it uses set-based deduplication.

Can I generate decimals?

Yes — in Numbers mode tick "Allow decimals". Results are rounded to six decimal places to stay readable.

What about a visual spinning wheel for giveaways?

For a visual picker with a spinning wheel animation, weighted draws, and a remove-winner mode, try the <a href="/picker-wheel" class="text-accent hover:underline">Picker Wheel</a>. It is ideal for raffles, team picks, and classroom activities where the animation adds excitement. This Random Generator is better for dice, numbers, and reproducibility with seeds.

Related productivity tools

Copied!