All tools

Generator

Random Number Generator

Generate random numbers within a specified range with customizable options.

Fairness, sampling, and simple games

You might use random numbers to pick a lottery winner, sample rows for QA testing, or break ties. The important part is to define the range, whether duplicates are allowed, and what “fair” means for your situation. A generator helps remove human bias in selection, but it is not a statistical consulting tool.

Use the tool

How to set ranges meaningfully

Decide if your range is inclusive on both ends, because off-by-one errors are easy. If you need cryptographically strong randomness, browser JS randomness is not the right place to stop—use platform crypto APIs or OS-level services designed for that threat model. For school demos and casual sampling, a simple range is often enough.

Reproducible science and gaming

If you need the same “random” sequence for debugging, you will want a seeded approach in code, not this page. The tool is for ad hoc draws.