Random number generator
Generate a random number within a range you specify. Useful for games, sampling, testing and quick decisions.
What is a random number generator?
A random number generator (RNG) produces numbers that cannot be predicted in advance. In software, RNGs are either pseudorandom — generated by deterministic algorithms — or truly random, based on physical phenomena. The tool uses a pseudorandom algorithm to produce a number within a range.
What this tool does
This generator takes a minimum and maximum value and returns a random number within that range. It is useful for quick decisions, games, sampling and testing where cryptographic randomness is not required.
Common use cases
- Games and contests: Pick a random winner or assign a random value.
- Testing: Generate random inputs for test cases and simulations.
- Sampling: Select a random index or item from a list.
- Quick decisions: Choose between options with a random number.
- Education: Demonstrate probability and randomness concepts.
How to interpret the result
The output is a single number within the specified minimum and maximum. The result is pseudorandom and not cryptographically secure. If you need secure randomness for passwords, keys or tokens, use a dedicated cryptographic random generator.
Important limitations
This tool does not provide cryptographically secure randomness, does not store results and does not guarantee statistical properties beyond a basic pseudorandom algorithm. Do not use it for security-sensitive applications.
Popular tools
Decode any Base64 string back to readable text. Use this tool to inspect encoded payloads, data URLs, tokens and configuration values.
Ping a website, server or port to check availability.
Extract email addresses from text quickly and see the total count of unique addresses found.
Get approximate geolocation and network details for an IP address.