Random Number Generator

Choose a mode, set the range and how many values you want, then press Generate. Each press draws new values, and numbers can repeat unless you tick unique. The values come from the browser’s secure random source, and the number of values is limited to keep the page responsive.

Random Number Generator runs entirely in your browser: it generates the result on your device and nothing is sent to a server. It is free and needs no sign-up.

How to use it

  1. Choose a mode and fill in its fields In Random Number Generator, pick Integers, Decimals, Permutation, Primes, Hex string or Binary string. Fill in the fields shown for that mode, then press Generate.
  2. Keep within the limits Whole numbers can run from -9007199254740991 to 9007199254740991. You can make up to 10,000 values at once, permutations go up to 100,000, and primes are searched up to 10,000,000.
  3. Generate again or copy Press Generate again for a new set. Each value is drawn on its own, so repeats are possible unless No repeats is on. Choose a comma, space or new line separator, then copy the result.

Questions

Are the numbers truly random?

They come from crypto.getRandomValues, the browser’s cryptographically secure random source, and every value in the range is equally likely. Nothing is stored or sent. For passwords, use the Password Generator tool on this site instead.

Why can the same number appear twice?

Each value is drawn independently, so repeats are normal unless No repeats is on. With No repeats, the count cannot exceed the number of whole numbers in the range, and permutation mode lists each number from 1 to N exactly once.