Random Number Generator

Generate random integers or decimals within any range, pick multiple numbers, control duplicates, and sort results — or pick random items from your own list.

How to Use

1

Choose a Mode

Select Integer for whole numbers, Decimal for numbers with decimal places, or From List to pick random items from your own custom list.

2

Set Your Range and Count

Enter the minimum and maximum values for your range, then specify how many numbers to generate (up to 1000). In Decimal mode, also set the number of decimal places.

3

Configure Options

Toggle "Allow duplicates" to control whether the same number can appear more than once. Toggle "Sort results" to display numbers in ascending order.

4

Generate and Copy

Click Generate to produce your random numbers. A single result appears large and centered; multiple results show in a grid or list. Click "Copy All" to copy all results to your clipboard at once.

Frequently Asked Questions

Yes, the generator uses JavaScript's Math.random(), which produces pseudorandom numbers seeded by the browser's internal entropy source. This is statistically sufficient for games, lotteries, simulations, and everyday decisions. For cryptographic security (such as generating encryption keys), use the dedicated Password Generator which uses crypto.getRandomValues().

Yes. Enter any count between 1 and 1000. When you request more than 50 numbers, the results switch from a visual grid to a compact comma-separated list for readability. You can copy all results with a single click regardless of count.

When "Allow duplicates" is unchecked, each number in the output is unique — no value can appear more than once. For example, generating 5 unique numbers from 1–10 guarantees all five are different. Note: this is only possible if the range contains enough distinct integers to satisfy the requested count.

Paste any list of items separated by commas or by newlines (one item per line). Set how many items to pick, and click "Pick Random Items." This is perfect for choosing a random winner from a list of names, picking a random song, deciding what to eat, or any scenario where you need to randomly select from custom options.

Yes. Switch to "Decimal" mode using the tab at the top. You can then set the number of decimal places from 1 to 10. For example, with a range of 0–1 and 4 decimal places, you might get numbers like 0.3872, 0.1294, or 0.9561. The "Decimal places" field is disabled in Integer mode.

Related Utility Tools