Random Number Generator
Generates random integers within a user-defined min-max range with optional unique and sorted output. Uses the browser random number generator — fine for games, raffles, and sampling, not for security secrets. Input never leaves your device — everything runs locally in your browser.
How to Use the Random Number Generator
Similar Tools You Might Need
See allURL Shortener
Takes any long URL and generates a compact, shareable short link. Uses cloud-based processing. Short links resolve through managed providers with automatic failover — free, paced ~10 links/min per address.
Password Generator
Generates cryptographically strong random passwords with fully customizable length and character sets, plus memorable passphrases. Input never leaves your device — everything runs locally in your browser.
Random Picker Generator
Use the Picker to draw random winners from lists, with optional no-repeat draws. Settle raffles in one click — free, local, no signup.
Random Token Generator
Generate random tokens in hex, base64, or alphanumeric formats for secrets and sessions. Hex and base64 draw from Web Crypto (alphanumeric uses Math.random — see format notes). The API-key preset mints 64-char secrets in one click — local generation, free, no signup.
UUID Generator
Generates UUID v4 random identifiers in standard 36-character string format with an optional compact hex mode (no dashes). Code never leaves your device — formatting and validation run locally in your browser.
Frequently Asked Questions
How do I run a fair draw?
Set min 1, max = number of entries, enable no-repeat filtering, generate once per prize. Screen-record the draw if the audience needs proof — the tool itself keeps no audit trail.
Is it cryptographically secure?
No — it uses Math.random(), fine for games, raffles, sampling, and testing. For passwords, tokens, or anything adversarial, use the Password Generator (Web Crypto) instead.
How does no-repeat filtering work?
Unique mode shuffles the full range and slices the count — guaranteed unique draws within the range. Requesting more than the range returns the whole range instead of looping.
Integers or decimals?
Integers only: set any min/max range for dice, draws, and IDs. For decimals, scale integers (e.g. 1–1000 ÷ 100) in your own sheet.
When using Random Number Generator, is anything uploaded?
No. Generation runs entirely in your browser. Nothing leaves your device.
What if my unique count exceeds the range?
Requesting 10 unique numbers from 1-5 returns the full 5-number pool instead of erroring or looping. The count field accepts 1-10,000; the Lottery preset (1-49, 6 unique) shows the classic use.
Related Utility Tools
Random String Generator
Generate random strings in alphanumeric, alphabetic, numeric, hex, or UUID formats. Mint references and IDs fast — free, local, no signup.
Sequence Generator
Generate arithmetic, geometric, and custom number sequences with sums. Fill spreadsheets and test series — free, local, no signup.
Last updated October 2026