Generate truly even random numbers within any range, with optional uniqueness.
Cryptographically secure randomness
Set your range and count, then click Generate — your random numbers will appear here.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
Random Number Generator computes generate truly even random numbers within any range, with optional uniqueness. Formula: uniform integer in [min, max] via the browser's cryptographically secure randomness source. Example: Rolling a die: min 1, max 5.
Each number is drawn uniformly from your chosen range, meaning every integer between min and max is equally likely on each draw. When 'no duplicates' is selected, draws are made without replacement — so the count cannot exceed the size of the range.
The generator uses your browser's built-in cryptographic randomness (Web Crypto API), which is considerably stronger than the pseudo-random generators found in simple scripts and is more than sufficient for drawings, games and sampling tasks.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
Rolling a die: min 1, max 5? No — min 1, max 6, count 1 gives a fair six-sided roll. Drawing 5 unique lottery-style numbers from 1–50: set count 5 and check 'no duplicates'.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID