Free online text tool

Random Number Generator

Random Number Generator creates a list of random whole numbers. Choose how many you need and the minimum and maximum, then copy the list. It is free and runs in your browser.

Random Number Generator

0Character Count
0Character Count (without spaces)
0Word Count
0Sentence Count
0Paragraph Count
0Line Count

Random Numbers

Before
Number of random numbers: 5
Minimum number: 1
Maximum number: 100
Padding: 0
After
47
3
91
68
22

Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.

Suggest a New ToolProvide Feedback on This Tool

What does Random Number Generator do?

This tool creates a list of random whole numbers. Enter how many numbers you want, then the minimum and the maximum, and it picks each number at random from that range. Both the minimum and the maximum can appear.

Use padding to add leading zeros (for example 0042), choose a new line, comma or space between the numbers, and tick Do not repeat numbers when every number must be different. Negative numbers are allowed.

You can make up to 1000 numbers at a time. They suit games, samples and test data, but are not meant for security. Nothing leaves your browser.

Random number generator examples

Each row shows the settings you choose and what you get. The numbers are random, so your list will differ. Unless stated, the range is 1 to 100, padding is 0 and numbers go on separate lines.

SettingsResult
5 numbers from 1 to 100Five random whole numbers, one per line, such as 47, 3, 91, 68 and 22.
Padding 4, range 1 to 100Numbers with leading zeros, such as 0047, 0003 and 0091.
Range -50 to 50Numbers that can be negative, such as -23, 0 or 41.
Minimum and maximum both 77 on every line, because 7 is the only number in the range.
10 numbers from 1 to 10, do not repeatEvery number from 1 to 10 once, in random order.
Comma separatorNumbers on one line, such as 47, 3, 91, 68, 22.
Minimum larger than maximumThe minimum cannot be larger than the maximum. Your list was not changed.
Do not repeat, 20 numbers from 1 to 10The range has only 10 numbers. Choose fewer numbers or untick Do not repeat numbers. Your list was not changed.
Empty minimumMinimum and maximum must be whole numbers between -1,000,000,000,000 and 1,000,000,000,000. Your list was not changed.

How to generate random numbers

  1. 1
    Enter how many numbers
    Type how many random numbers you want, from 1 to 1000.
  2. 2
    Set the range
    Enter the minimum and the maximum number. Both can be chosen, and negative numbers are allowed.
  3. 3
    Choose the options
    Set padding if you want leading zeros, pick a separator, and tick Do not repeat numbers if every number must be different.
  4. 4
    Click Generate Random Numbers
    The numbers appear in the box. Click again for a new list, then click Copy.

When to use random numbers

Good for

Games, draws, samples, test data, spreadsheets, classroom activities and any time you need a quick list of numbers in a range.

Check first

The numbers are not meant for security. Do not use them for passwords, keys or anything that needs cryptographic randomness.

Other tools

For related jobs, try Number List Generator, Sequence Generator, Randomly Sort Lines of Text or Extract Random Lines.

Random number generator FAQ

What does the Random Number Generator do?

It creates a list of random whole numbers between a minimum and a maximum that you choose. You also choose how many numbers you want.

How do I generate random numbers?

Enter how many numbers you want, then the minimum and the maximum, and click Generate Random Numbers. The numbers appear in the box and you can copy them with the Copy button.

Are the minimum and maximum included?

Yes. Both the minimum and the maximum number can appear in the list.

What is padding?

Padding adds leading zeros until each number has the number of digits you enter. With padding 4, the number 42 becomes 0042. Use 0 for no padding.

Can the same number appear twice?

By default yes, because each number is picked independently. Tick Do not repeat numbers to make every number different, which works like drawing numbers from a hat.

Can I use negative numbers?

Yes. Set a negative minimum, for example -50 to 50. With padding, the minus sign stays in front and the zeros go after it.

Can I get decimals?

No. The tool makes whole numbers only.

How many numbers can I make?

From 1 to 1000 at a time, with a minimum and maximum between -1,000,000,000,000 and 1,000,000,000,000. If a value is not allowed, the tool shows a message and leaves the list as it is.

Is it safe for lotteries or passwords?

The numbers are fine for games, samples and test data, but they are not meant for security. Do not use them for passwords, keys or anything that needs cryptographic randomness.

Is my data private?

The tool is free, needs no account and runs in your browser, so nothing you do here is uploaded to a server.

Looking for more tools?

Browse Generator Tools

Last updated: 21 November 2026