Random number generator

Generate a random number within a given range.

Rated 5 out of 5 (total ratings: 1)
Random number generator

Random number generator is a free tool that returns a number based on the minimum and maximum values you provide.

How should I set the minimum and maximum?

Enter the lower end of the requested range in Minimum and the upper end in Maximum. The generated value appears in the Number result field.

  1. Decide which numerical values are acceptable for your task.
  2. Enter the smallest acceptable value in Minimum.
  3. Enter the largest acceptable value in Maximum.
  4. Generate the result.
The Random number generator tool on biolink.page, showing its input form

For example, a board game might use a minimum of 2 and a maximum of 12. A random sample from a numbered list might use 1 and 850. The exact output cannot be shown in advance because it is generated for the request, but the result will appear as a single number rather than a list of values.

The tool's documented behavior does not specify accepted input formats or how it validates empty fields, punctuation, decimal values, extremely long numbers, or a minimum greater than the maximum.

Where does the generation happen?

The generation happens on the server. Your minimum and maximum values travel to the server over HTTPS and are not stored.

This means the claim that your input never leaves your device would be false for this tool. HTTPS protects the values while they travel between your browser and the server, but it does not mean the calculation happens locally. The range normally contains little sensitive information, though you should still avoid using confidential account data or secret values as inputs.

Is the result random enough for my task?

The fact sheet does not identify this tool's random-number algorithm, distribution, range mapping, or whether it uses a cryptographically secure source.

It is not the right basis for passwords, encryption keys, password-reset tokens, API secrets, session identifiers, or other security credentials. Those uses require a generator that explicitly documents a cryptographically secure random source.

Do not use an informal online generator as the sole system for a regulated lottery, financial award, or drawing that must withstand an audit. Those situations may require documented procedures, retained records, independent observation, and a verifiable source of randomness.

Example result produced by the Random number generator tool

Practical range choices

If you have verified that the tool returns uniformly distributed integers and includes both endpoints, choose a range that maps directly to the items or outcomes you have. Under those conditions, assign each eligible item one unique number, generate a result, and then look up the matching item.

  • For a six-sided die, use the values 1 through 6.
  • For 24 numbered support tickets, assign 1 through 24 after removing any ineligible tickets.
  • For a restaurant decision, number the actual options rather than using a larger range and rerolling unused values.
  • For a spot check of spreadsheet rows, use the first and last eligible row numbers, excluding header rows.
  • For several selections without replacement, remove each selected item and renumber the remaining list before the next draw.

Keeping a direct mapping reduces ambiguity. If individual numbers are equally likely and some numbers represent more than one item, those items receive a greater chance of selection. If unused numbers remain in the range, you will need a documented rule for handling them. The tool has no documented option for selection without replacement.

For UUIDs or database identifiers, use a UUID version 4 generator instead of choosing a number from an arbitrary range. Compared with typical small numeric ranges, UUID version 4 values have a substantially larger outcome space and follow a recognized identifier format.

Why should a random number not become a password?

A random number alone is usually a poor password because its possible character set is limited and this tool is not documented as a cryptographic generator. A short number may look unpredictable to a person while still coming from a relatively small set of possibilities.

Password reuse is an everyday danger. If one service exposes a reused password, attackers can try the same credentials on email, shopping, financial, and social accounts.

Use the Password generator when you need a credential rather than a general number. A Password strength checker can help review length and composition, while checking known-compromised-password data is a separate capability that a strength score alone may not provide.

Frequently asked questions

Are the minimum and maximum included in the possible results?

The available fact sheet does not state whether both endpoints are inclusive. If selecting an endpoint would materially affect the outcome, use a system that explicitly documents its range convention or adjust your numbering process so the boundary is not ambiguous.

Does a wider range make each result more random?

A wider range creates more possible outcomes, but it does not prove that the generation method is less predictable. Randomness quality depends on the underlying generator and how values are mapped into the range, not merely on the distance between the minimum and maximum.

Can I use a generated number to choose a random date?

If the tool is documented to return uniformly distributed integers and its endpoint convention is known, you can assign consecutive numbers to dates and map the result back to the corresponding date. Count carefully across leap years and decide in advance whether weekends, holidays, or unavailable dates should remain eligible.

Does HTTPS make the generated value safe for encryption?

No. HTTPS protects the request while it is being transmitted, but transport security does not establish that the generated number has cryptographic randomness. Use a cryptographic library or a security-focused generator whose documentation explicitly states the random source.

How should I document a drawing that others may question?

Record the eligible list, numbering method, range, time of the draw, result, and rules for duplicates or invalid selections. For a high-stakes or regulated drawing, use an auditable process with appropriate oversight rather than relying only on an unrecorded browser result.

Popular tools