Random Number Generator


Exclude duplicates

Sort results

Random Number Generator Guide

Whether you need test integers for a database seed, lottery/raffle picks, dice rolls, or sample datasets, this generator produces random numbers within your chosen minimum and maximum bounds. You can generate a single number or a full batch, optionally enforce unique values (sampling without replacement), and format the output for easy copying.

Unique vs. Non-Unique Sampling

  • With Duplicates Allowed: Each draw is independent (like rolling a die repeatedly). Suitable for simulating random traffic, scores, or Monte Carlo inputs.
  • Unique Numbers Only: Each number in the range [min, max] can appear at most once (like drawing raffle tickets from a hat). Note that the requested count cannot exceed max - min + 1 when uniqueness is enabled.

Frequently Asked Questions

  • Can I generate negative numbers or zero? Yes, enter any integer bounds as long as Min <= Max.
  • Need high-entropy passwords or Diceware passphrases instead? Use our Password Generator or Diceware Passphrase Generator, which use crypto.getRandomValues() locally in your browser.
Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy