Random Number Generator
Random Number Generator is a free online generator that helps you generate uniform random integers in a range; uses crypto.getRandomValues for true uniformity. Random Number Generator uses 5 input fields, returns 2 output values, and runs in your browser on the device.
Key facts
- Inputs
- 5 fields: Min, Max, How many, All values unique (no duplicates), and Format
- Outputs
- 2 values: Numbers and Generated
- Runtime
- your browser on the device
- Mode
- Generator
- Privacy
- Files and text stay in the browser session.
- Cost
- $0, no account required
How to use Random Number Generator
- 1
Paste or fill in the input
Enter your text or values into the input fields on the page.
- 2
Run the utility
Click Compute to run the utility in your browser and review the result.
- 3
Copy the output
Copy the output value you need from the result panel.
Random Number Generator details
First, enter Min in Random Number Generator. Next, review Numbers and Generated. Additionally, Random Number Generator uses 5 input fields and 2 output blocks so the result is easy to scan and copy.
Generate one or more random integers in a range you choose. Pick min, max, count, whether all results must be unique (e.g. for lottery numbers) and the output format (one per line or comma-separated). Backed by crypto.getRandomValues with rejection sampling. Runs entirely in your browser.
Common searches
- random number generator
- rng
- random integer generator
- lottery number generator
- dice roller
- random number
Related tools
Tools that work with the same formats — most users open one of these next.
Password Generator
Generate cryptographically random passwords — choose length, character classes, and exclude lookalikes.
Random String Generator
Generate batches of random strings — pick charset, length and count, all sourced from crypto.getRandomValues.
UUID Generator
Generate cryptographically random UUIDs (v4) or time-ordered UUIDs (v7) — runs locally in your browser.
Hex to Decimal
Convert a hexadecimal number to decimal — also shows binary and octal. Handles arbitrary-size integers via BigInt.
Decimal to Hex
Convert a decimal integer to hexadecimal — also shows binary and octal. Uppercase output with optional 0x prefix.
Binary to Decimal
Convert a binary number to decimal — also shows hex and octal. Spaces and underscores ignored.
Frequently asked
What is Random Number Generator?
Random Number Generator is a free online generator that helps you generate uniform random integers in a range; uses crypto.getRandomValues for true uniformity. Random Number Generator uses 5 input fields, returns 2 output values, and runs in your browser on the device.
What inputs and outputs does Random Number Generator use?
Random Number Generator uses 5 input fields: Min, Max, How many, All values unique (no duplicates), and Format. Random Number Generator returns 2 output values: Numbers and Generated.
Do my files and data stay private?
Yes. Random Number Generator runs entirely in your browser using your device's CPU. Files and text are never uploaded to our servers, so your data stays private.
How do I use Random Number Generator?
Open Random Number Generator, paste or fill in the input fields, and the result updates instantly. Random Number Generator runs in your browser with no upload and no waiting.
Which browsers does Random Number Generator support?
Any modern browser works in Chrome, Firefox, Safari, and Edge on desktop and mobile. Random Number Generator uses standard web APIs and does not require any plugin, extension, or sign-up.