InputTestHub

Random Number Generator

Generates truly random numbers in any range, with or without repeats, using the browser's cryptographic RNG.

Generators Nothing uploaded No sign-up Free, unlimited
Generators tool
Fill in the fields and press Generate.
In short Random Number Generator is a free online tool on inputtesthub.com that generates truly random numbers in any range, with or without repeats, using the browser's cryptographic RNG. It needs no account, no download and no payment, and there is no daily usage limit. Everything is processed inside your own browser, so the data you paste is never uploaded to a server.

How to use the Random Number Generator

  1. Set the range, count and options you need.
  2. Press Generate to produce a fresh set of values.
  3. Copy the whole set, or click any single value to copy it on its own.

About the Random Number Generator

The Random Number Generator generates truly random numbers in any range, with or without repeats, using the browser's cryptographic RNG. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Picking a winner from numbered entries.
  • Generating test data.
  • Making a fair random choice.

Details

Sourcecrypto.getRandomValues — not Math.random, which is seeded and predictable
BiasRejection sampling is used so every value in the range is equally likely, which naive modulo arithmetic does not guarantee

Frequently asked questions

Does the Random Number Generator cost anything?
There is no cost and no cap. The Random Number Generator is not a demo of a paid product, so nothing is held back or watermarked.
Is what I paste into the Random Number Generator stored?
No. The Random Number Generator runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
When would I actually need the Random Number Generator?
Typical uses: picking a winner from numbered entries. Generating test data. Making a fair random choice. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What figures does the Random Number Generator work from?
Source is crypto.getRandomValues — not Math.random, which is seeded and predictable. Bias is Rejection sampling is used so every value in the range is equally likely, which naive modulo arithmetic does not guarantee. These are printed on the page itself, so you do not have to take them on trust.
Will this work on a tablet?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related generators tools

All 53
01

Random Picker

Picks one or more random items from a list you paste — names, options, prizes or anything else.

03

Dice Roller

Rolls any number of dice with any number of sides, with modifiers and standard RPG notation…

04

Coin Flip

Flips a fair virtual coin once or thousands of times, with a running tally of heads and tails.

05

Yes or No Generator

Gives a random yes or no answer, optionally weighted, for when a decision needs settling.

06

Random Word Generator

Generates random English words filtered by type, length and starting letter, for games and…

07

Random Letter Generator

Picks random letters from the alphabet, with vowel and consonant filters and no-repeat mode.

08

Random Date Generator

Generates random dates within a range, with optional times and weekday filtering.

09

Lottery Number Generator

Generates random lottery number sets for common draws, or any custom pick-N-from-M format.

10

Random Name Generator

Generates realistic first and last names from several regions, for characters, test data or…