🔢

Random number generator

Pick a range and generate a random number.

About the random number generator

The random number generator draws a uniform integer between the bounds you choose, in one click. Need a random number between 1 and 100, between 1 and 6 to replace a die, or between 1 and 1,000,000? This random number draw covers any range, with no limit, and a strictly equal probability for every value.

Need more options? Build your own custom wheel with as many choices as you want, plus weights, colors and sounds.

Build your custom wheel

Add your own choices and spin.

🎡 Open the wheel

How to play

Set your range

Enter the minimum and maximum values in the two fields. The range can span from 1 to 1,000,000: no arbitrary ceiling imposed.

Hit Generate

A uniformly distributed random integer within your range appears instantly.

Re-roll if needed

Every press produces a new independent result. Tap as many times as you need: the previous result never influences the next.

Copy the result

Use the copy button to paste the number directly wherever you need it: a form field, a spreadsheet or a message.

When and why

Random draw among participants

Assigning a prize among 30 students? Give each person a number, draw between 1 and 30: result in a second, no ticket, no hat needed.

Classroom or office lottery

To pick who answers, who takes the chore or who presents first: a random integer between 1 and the number of participants beats a show of hands for perceived fairness.

Numbered decision

Have 8 options? Number them 1 to 8 and draw. No need for a custom-sided die or a full wheel setup for this simple use case.

Test data generation

Building an app? Quickly generate random numeric values to test forms, APIs or calculations without having to invent numbers by hand.

Tips, variants & rules

Dice replacement

To simulate a 6-sided die, set bounds to [1–6]. For a 20-sided die (RPG), [1–20]. Far more flexible than any physical die in your drawer.

Double draw for ordering

Draw twice between 1 and 100 to rank two teams or options: highest goes first. Repeat for all participants to get a full random order.

4-digit code or batch number

Generate a number between 1000 and 9999 to create a temporary 4-digit access code or a unique batch reference without thinking twice.

Pair with the wheel to weight probabilities

If you want option A to be twice as likely as option B, use the Wheelo main wheel with segments of different sizes rather than a straight integer draw.

Frequently asked questions

Is the range always inclusive?

Yes. Both the min and max bounds are included in the draw. If you enter 1 and 6, each of the six values (1, 2, 3, 4, 5 and 6) has exactly the same probability.

Can I draw decimal numbers?

This tool generates integers only. For decimals, draw an integer and divide it by whatever power of 10 you need for your use case.

What's the difference from the wheel or dice?

The wheel lets you weight probabilities and display text options. Dice are capped at 6 faces. The number generator covers unlimited ranges with strict equal probability across every integer.

Is it truly random?

Yes. We use the browser's cryptographic random generator (Web Crypto), which is not predictable in practice. For a high-stakes official draw, a notarised lottery remains preferable.

Also worth a spin

The Hack Wheel

Every spin unlocks a real automation blueprint: n8n, Make, Voiceflow. Free, no account required.

Try it →