Random Number Generator

Random Number Generator: Pick Numbers in Any Range

Set a minimum and maximum, choose how many numbers you want, and generate. Allow or block repeats, sort the results, use decimals, and make several sets at once. Free, runs in your browser.

Your numbers

How to use the Random Number Generator

  1. Enter the minimum and maximum of your range. Both ends are included.
  2. Choose how many numbers you want, and how many sets. Tick No repeats if each number may appear only once.
  3. Set decimal places above 0 for decimals, and pick a sort order if you want one.
  4. Click Generate, then Copy. Use a preset for common cases such as 1 to 100, a PIN or lottery numbers.

Frequently asked questions

How does the random number generator work?

It uses your browser’s cryptographically secure random number generator and avoids bias when mapping to your range, so every whole number between the minimum and maximum is equally likely.

Can I generate numbers without repeats?

Yes. Tick No repeats and each number in a set will be different. The range must be at least as large as the amount of numbers you ask for.

How do I pick a random number from 1 to 100?

Leave the range at 1 and 100, set How many numbers to 1 and press Generate. Press it again for a new number.

Can I use it for a lottery draw?

You can use it to choose numbers, for example 6 different numbers from 1 to 49, sorted low to high. The generator has no link to any real lottery, and picking numbers does not change your odds.

Is this suitable for passwords or encryption keys?

Use the Password Generator for passwords. This tool is meant for everyday picks, games, raffles, sampling and testing, not for generating encryption keys.

Are my numbers stored?

No. Everything runs in your browser, and nothing is uploaded or saved by Nexatoolbox.

Everything runs in your browser. Nothing you enter is uploaded or stored by Nexatoolbox.