T

Text Machine

Powerful text tools, in your browser

Random Number Generator

Generate random numbers within a specified range with options for duplicates and decimal places.

Settings

Minimum

Maximum

Quantity

Allow Duplicates

Include Decimal Places

Results

Generated numbers will appear here

How to use Random Number Generator

  1. 1

    Set your range

    Enter the Minimum and Maximum values to define the range the random numbers should fall within.

  2. 2

    Choose quantity and options

    Set how many numbers to generate, toggle 'Allow Duplicates', and enable 'Include Decimal Places' if you need fractional numbers.

  3. 3

    Generate the numbers

    Click 'Generate Numbers' to instantly produce your random values within the chosen range.

  4. 4

    Copy the results

    Use 'Copy Numbers' to save the output, or click 'Clear' to start over with new settings.

Frequently asked questions

Can I generate random numbers within a specific range?
Yes. Set the Minimum and Maximum fields and every generated number will fall within that inclusive range.
What does the 'Allow Duplicates' option do?
When enabled, the same number can appear more than once. When disabled, every number in the result is unique, which is useful for things like raffle picks or lottery-style draws.
Can it generate decimals instead of whole numbers?
Yes. Turn on 'Include Decimal Places' and choose how many decimal places you want, and the tool will produce random fractional numbers instead of integers.
Why do I sometimes get an 'invalid quantity' message?
If duplicates are turned off, you cannot request more unique numbers than the range allows. For example, asking for 20 unique numbers between 1 and 10 is impossible, so you'll be prompted to widen the range or reduce the quantity.
Are the numbers truly random and is the tool free?
Numbers are produced with your browser's built-in pseudo-random generator, which is suitable for games, sampling, and everyday use but not cryptographic security. The tool is free, requires no sign-up, and runs entirely on your device.

Related tools

Keep going with these handy tools

Random Word Generator

Random Sentence Generator

Random Password Generator

Random Decision Maker

Random Letter Generator

Random Noun Generator