🎲

Random Number Generator

Generate random integers or decimals within any range. Bulk generate lists instantly.

How to Use

  1. Set the Min and Max values to define your number range. Then set the Count (1 to 100) to specify how many numbers to generate.
  2. Toggle Integers only to switch between whole numbers and decimals (up to 3 decimal places). Toggle Allow duplicates to control whether the same value can appear more than once in the result.
  3. Click Generate to produce the list, then click Copy All to copy every number as a newline-separated list — ready to paste into a spreadsheet, script, or test fixture.

Frequently Asked Questions

What is the difference between integers and decimals?
Integer mode generates whole numbers within your range (e.g., 1 to 100). Decimal mode generates floating-point numbers rounded to 3 decimal places (e.g., 42.731). Use decimals for simulation data, coordinates, or any scenario requiring fractional values.
Can I generate numbers without duplicates?
Yes — uncheck Allow duplicates and the tool ensures every number in the result is unique. Note: if your range is too small to produce the requested count of unique integers, the list will be capped at the maximum possible unique values.
How is the randomness generated?
The tool uses JavaScript's Math.random(), a pseudo-random number generator suitable for simulations, testing, and games. It is not cryptographically secure. For cryptographically secure random values, use the Password Generator which uses the Web Crypto API.