Random number generator
Random number generator produces an integer between a minimum and maximum. Try a worked example and check the limits before using results in sample datasets.
Random number generator helps you produce one integer between a minimum and maximum for a simple demonstration, sample selection, or test dataset. Start with a representative sample of your actual task. Read the form labels and the returned value before replacing text, a link, or a code fragment that is already in use.
How to use Random number generator
- Enter an integer minimum.
- Enter a maximum at least as large.
- Select Submit and inspect the returned value.
Worked example
The range 1 through 6 can return either endpoint or any integer between them. Repeated requests can legitimately produce the same result.
Limits and checks
Reversed bounds fall back to 0 through 100. Inputs become integers. The general-purpose random routine is not appropriate for secret authentication tokens, cryptographic keys, or claims of independently audited drawings.
Frequently asked questions
Can the result replace application requirements?
No. Check the length, format, and purpose required by the destination application. An identifier, a random integer, and a password serve different roles and are not interchangeable merely because they look unpredictable.
What happens if the minimum is greater than the maximum?
The implementation replaces the reversed bounds with 0 and 100. Recheck those inputs before treating a result as a selection from your intended range; it may have used the fallback range instead.
Related tools
Shuffle a separate list of entries with List randomizer.
Generate a separate candidate character string with Password generator.
Prepare a UUID-format test identifier with UUID v4 generator.
Share
Popular tools
Whois Lookup retrieves available domain registration information through an RDAP lookup. Review clear steps, a practical example, and limitations before use.
DNS Lookup retrieves DNS records for a hostname so you can investigate website routing, mail delivery, and domain configuration. See examples and limits.
SHA-256 generator: Calculate a 256-bit text digest, compare a real example, and identify the exact algorithm and input limits before checking a reference value.
SHA-512 generator: Calculate a 512-bit text digest, compare a real example, and identify the exact algorithm and input limits before checking a reference value.