Toollance

Random Number Generator

Generate random integers within a custom range. Set min, max, and count to generate multiple random numbers at once.

What is a Random Number Generator?

This tool generates truly random integers within a range you specify. You can generate a single number or a batch of up to 1,000 numbers at once. Each click of Generate produces a fresh set.

How to use this tool

  1. Set the Min value (default: 1)
  2. Set the Max value (default: 100)
  3. Set the Count — how many numbers to generate (1–1000)
  4. Click Generate
  5. Click Generate again to get a new random set

How it works

Uses the browser’s built-in Math.random() function, which generates a uniform pseudo-random float. The result is scaled and floored to produce integers in the specified range.

Formula: Math.floor(Math.random() * (max - min + 1)) + min

Example use cases