Is your website down?Check on IsItDownStatus.com
WebToolsWiki
🎲

Random Number Generator

Generate one or multiple random numbers within any range. Supports integers and decimals, with optional duplicate filtering.

What is a Random Number Generator?

A random number generator (RNG) produces numbers with no predictable pattern within a defined range. Random numbers are used everywhere from lotteries and games to scientific simulations and statistical sampling. Our generator lets you customise the range, quantity, and format — integers or decimals — and ensures you get genuinely unpredictable results every time.

How to use the Random Number Generator

  1. 1Set your minimum and maximum values to define the range (e.g. 1 to 100).
  2. 2Choose how many numbers to generate — from 1 up to 100.
  3. 3Toggle "Allow decimals" for decimal results, or keep integers for whole numbers.
  4. 4Enable "No duplicates" to ensure every generated number is unique.
  5. 5Click "Generate" and optionally sort the results or copy them all.

Common uses

  • Picking a random winner from a list by generating a number in a given range
  • Creating random data for software testing and simulations
  • Running raffles, lottery draws, or random prize selection
  • Teaching probability and statistics concepts with live examples

Frequently asked questions

+Are the numbers truly random?

Numbers are generated using JavaScript's Math.random(), which uses a pseudo-random algorithm. For most purposes this is sufficiently random.

+What is the maximum range I can use?

You can enter any numbers supported by JavaScript, including very large ranges. For the 'no duplicates' option, count cannot exceed the range size.

+Can I generate decimal numbers?

Yes — toggle 'Allow decimals' to get numbers with 2 decimal places within your chosen range.

Related tools