Random Number Generator

Generate random whole numbers or decimals and number series instantly in your browser.

Random Number Generator Online

Generate up to 10,000 random numbers - whole numbers or decimals - in any range from (minus) -1,000,000,000 to (plus) +1,000,000,000.
Sort them, block repeats, or output a complete series like 1 to 100.


(1-10000)
Ready to generate numbers.


Overview

Our Random Number Generator creates one or more random numbers from any range you define. Keep the default Whole numbers mode for counts, IDs and draws, or switch to Decimal numbers mode and pick 1 to 10 decimal places for measurements, prices, scores or probabilities. Set how many numbers you need (1 to 10,000), choose a minimum and maximum between -1,000,000,000 and 1,000,000,000, and generate results instantly.

Beyond random picks, the tool can also output a complete number series - every consecutive whole number from Min to Max, such as the full sequence 1 to 100. Numbers are produced with your browser's cryptographically secure random source, so they are unpredictable and never stored or sent anywhere.


How to Use this Tool?

Step 1: Enter how many random numbers you want in the How many field (1 to 10,000).

Step 2: Choose the Number type. Keep Whole numbers for integers, or pick Decimal numbers and set how many Decimal places (1 to 10) the results should have.

Step 3: Set the Min and Max values of your range. Every generated number falls within this range, and Max must be greater than Min.

Step 4: Choose your options. Tick Sort results to order the output, then pick Ascending or Descending in the dropdown that appears; enable No repeats if every number must be unique, or check Series to list every whole number from Min to Max instead of picking randomly.

Step 5: Pick a separator for the output - new line, comma, space, comma+space or hyphen - then click Generate Numbers. Copy the result with the Copy link, save it as a .txt file with Download, or press Clear to start over.


Features and Settings

How many: The number of random values to generate, from 1 up to 10,000. This field is disabled while the Series option is checked, because a series always contains every number in the range.

Number type: Chooses between Whole numbers (integers such as 42 or -7) and Decimal numbers (fractional values such as 3.75 or -0.42). Decimal mode enables the Decimal places field and disables Series, which is whole-number only.

Decimal places: Available in Decimal numbers mode only, from 1 to 10 places. Output is fixed to that many places, so 2 places shows values like 3.00, 7.40 or 0.05. This control is hidden in Whole numbers mode.

Min and Max: The boundaries of your range, between -1,000,000,000 and 1,000,000,000. In Whole numbers mode they must be integers; in Decimal numbers mode they may themselves be decimals. Negative ranges work fine - for example, Min -50 and Max 50 is perfect for picking temperatures or offsets.

Sort results: Off by default, so numbers appear in the order they are drawn. Tick the box to sort the output, then choose Ascending (2, 3, 10) or Descending (10, 3, 2) in the dropdown that appears; ascending is preselected. It applies to whole-number and decimal output alike, and is disabled while Series is checked because a series is already ordered from Min to Max.

No repeats: Guarantees every number in the output is unique. This requires the count to fit inside the range - asking for 50 unique numbers from a range of only 20 values shows an error instead. In Decimal numbers mode the number of possible values depends on the range and the chosen decimal places, so a range of 0 to 1 at 1 decimal place has only 11 possible values. The option is disabled while Series is checked, since a series never repeats by definition.

Series: Outputs every consecutive whole number from Min to Max rather than random picks. With Min 1 and Max 10 you get 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Series is whole-number only, so it cannot be combined with Decimal numbers mode. The range may span at most 10,000 numbers.

Separator: Controls how the numbers are joined. New line puts each number on its own row, Comma gives 7,42,13, Space gives 7 42 13, Comma+Space gives 7, 42, 13 and Hyphen gives 7-42-13.


FAQs

FAQ 1: Is this random number generator free?
Answer: Yes, it is completely free with no sign-up or login, and there are no limits on how often you can use it.

FAQ 2: How random are the numbers?
Answer: The tool uses your browser's built-in cryptographic random source (crypto.getRandomValues), which is far stronger than typical Math.random() based generators. That makes it suitable for giveaways, raffles and drawing winners.

FAQ 3: Can I generate decimal (fractional) numbers?
Answer: Yes. Set Number type to Decimal numbers, choose how many decimal places you want, and set your Min and Max. For example, Min 0, Max 1 and 2 decimal places might return 0.37, 0.82 and 0.05.

FAQ 4: How many decimal places can I use?
Answer: From 1 to 10 places. The output is fixed to that many places, so 3 places always shows values such as 2.500 or 9.014, while 1 place shows 2.5 or 9.0.

FAQ 5: What is the difference between random mode and Series mode?
Answer: In random mode the tool draws the requested amount of numbers from anywhere inside your Min-Max range. In Series mode it simply lists every whole number from Min to Max in order - useful when you need a complete sequence such as 1 to 100 for a test file or a loop. Series works with whole numbers only, so it is disabled in Decimal numbers mode.

FAQ 6: Why do I get an error about unique numbers?
Answer: With No repeats enabled, the count cannot exceed the number of possible values in the range. A range of 1 to 20 contains only 20 possible values, so requesting 50 unique numbers is impossible. Decimals behave the same way - a range of 0 to 1 at 1 decimal place has only 11 possible values. Increase the range, lower the count, reduce decimal places, or turn off No repeats.

FAQ 7: Can I generate negative numbers?
Answer: Yes. Any number from -1,000,000,000 up to 1,000,000,000 is accepted for both Min and Max, in either whole-number or decimal mode, so ranges like -100 to 100 or -1.5 to 1.5 work without any extra settings.

FAQ 8: Are my numbers stored anywhere?
Answer: No. Everything runs locally in your browser - nothing is uploaded, logged or saved. Once you leave or refresh the page, the results are gone unless you copied or downloaded them.


Tools Worth Trying

TextToolz

The Ultimate Text Tools

TextToolz works seamlessly to let you convert and design your text. It is fast, reliable and secure. Trusted by thousands of users.