Skip to content
🎲

Random Number Generator

Utility

Free random number generator for integers in a min–max range - optional unique batches up to 1,000 values in your browser.

0
0
Range & Options

Generates integers only (safe integer min/max, count 1–1000). Optional unique batch fails if count exceeds the range.

See more about the Random Number Generator

Uses Math.random - not cryptographic randomness; use Password Generator for secrets.

Examples

Two dice rolls

Min 1 · Max 6 · Count 2 · Unique off → Generate

Integers only. With Unique off the same value can repeat in one batch, like real dice. Unique fails if count is larger than the inclusive range.

Lottery-style draw

Min 1 · Max 50 · Count 6 · Unique on → copy comma-separated result

Uses Math.random, not cryptographic randomness. Prefer Password Generator for secrets.

Key features

  • Integer min/max range
  • Unique batch option
  • Copy results

Quick answers for Random Number Generator

Does it generate decimals?
No. It generates whole integers between min and max (inclusive), using safe integer bounds.
What happens if I ask for more unique numbers than fit in my range?
With Unique on, a count larger than the inclusive min–max range returns an error instead of duplicates.
How many numbers can I generate in one batch?
Up to 1,000 per Generate click, shown as a comma-separated list with Copy.
Is the randomness cryptographic?
No. It uses Math.random. For passwords or tokens, use Password Generator or UUID Generator instead.