Keyboard shortcut: Space bar

Click Generate or press Space

How to Use

1
Set your range. Enter a minimum and maximum value. Default is 1 to 100.
2
Choose how many numbers. Set count to 1 for a single result, or up to 20 for a list. Enable "No repeats" to get unique numbers.
3
Generate and copy. Click Generate or press Space. Use the Copy button or click the quick-use chips for common scenarios like lottery numbers.

Frequently Asked Questions

Is this truly random?

This uses JavaScript's Math.random(), a pseudorandom number generator (PRNG). It passes statistical tests for randomness and is fine for games, decisions, and simulations. For cryptographic security, use the Password Generator which uses crypto.getRandomValues().

How do I generate a random number in a range?

Set min and max to your desired boundaries and click Generate. The formula used is Math.floor(Math.random() * (max - min + 1)) + min, which gives an integer where both endpoints are equally likely.

Can I generate lottery numbers?

Yes. Click the "Lottery (1-49, pick 6)" quick chip to auto-fill the settings, then click Generate. The no-repeats option ensures all 6 numbers are unique. Adjust the range for your local lottery format.

What is the difference between random and pseudorandom?

True random numbers come from physical processes like atmospheric noise. Pseudorandom numbers use mathematical algorithms starting from a seed value. Both produce statistically uniform distributions. For everyday use, pseudorandom is perfectly adequate.

How do I pick a random number between 1 and 10?

Set min to 1, max to 10, count to 1, and click Generate or press Space. Each number from 1 to 10 has an equal 10% probability of being selected.