Random Number Generator

Online Random Number Generator

This free online random number generator allows you to generate multiple, unique, decimal, negative, large, unique and cryptographic random numbers. You can also sort and format the results.

  • Large numbers: Generate very big random numbers - up to 100 negative digits and 100 positive digits (that's -10^10 to 10^10). It should be a huge enough range for pretty much anything imaginable.
  • Multiple numbers: You can output multiple numbers at the same time - up to 50,000. That should be enough numbers to hand one out to every individual at a typical sports stadium for example, and that's just clicking the generate button once.
  • Decimal places: Generate numbers with decimal places - up to 53 decimal places per number. This is a powerful feature, just select the number of decimals you want to let the random number generator to include up to, 0 is the default. You could produce numbers between 0.5 and 1.5 for example.
  • Negative numbers: You can also choose negative random numbers; for example you might set a range of -100 to +100.
  • Unique numbers: Another option is to generate only unique numbers and exclude duplicates. This means if a number has already been chosen, it will not be selected again. This can be useful if you want to randomly pick the order of a specific set. It can also be useful to make sure that only one prize is given out per person when picking names in a raffle, for example
  • Sort the results: A powerful feature is to sort the results from highest to lowest (descending), lowest to highest (ascending), or leave them in the order they are generated (default). Sorting can be very useful for when you go to implement the numbers.
  • Format the results: Another powerful tool of this web app is to format the results of the randomly generated numbers into useful formats. You can choose to: separate numbers with spaces, new lines, commas, commas and spaces, commas and new lines.
  • Cryptographic random: Generate cryptographically strong random numbers with this random number generator. Depending on the size of the numbers being generated, it uses OpenSSL's openssl_random_pseudo_bytes in the generation algorithms, or draws entropy from the urandom source (/dev/urandom) using the getrandom method. This means the numbers produced are based on the same engine and algorithms that produce random numbers for cryptographic purposes (encryption, decryption).

More about Random Number Generation

Ultimately random numbers can be very useful for a huge variety of purposes, whether it's educational, research, raffle draws, etc. The need for a random number generator that can be customized to your many needs is important. If you want to use the generator to simulate many throws of a dice for example, you can do it just by setting the numbers to between 1 and 6. Or maybe you want to simulate a lottery pick - just generate 7 numbers between 1 and 49 for example.

Cryptographic Random Number Generation

Cryptography is important for financial institutions, order processing, online security, government, etc. One potential drawback to using cryptographic random algorithms is the number generation may be slower when generating large quantities of numbers compared to the simpler pseudo random option. Pseudo random number engines on the other hand generate random numbers based off of algorithms that technically meet the definition of random, but use definitive algorithms. These would not be ideal for cryptographic purposes, but for most casual purposes pseudo random numbers are secure enough.

What about true randomness you may ask? Well true random numbers are themselves theoretical in nature. All numbers generated by computers require a certain "seed" value that is put into a complex algorithm that randomizes that value. The more random the seed value the better. However, even the universe has uniformity. Radiation and atoms may seem random in nature, but then why does the earth hold together? Or our bodies don't explode? Believers of true random numbers may therefore be considered proponents of the fallible Chaos Theory. Or something like that.