Random Number GeneratorPick a Number Instantly
Use this free random number generator to pick one or more numbers instantly. Set any range, avoid repeats, sort results, and use it for raffles, games, sampling, or classroom activities.
🎯 Popular Use Cases
Generate a truly random number for any task. Pick a lottery entry, run a classroom exercise, simulate a custom dice roll with any range, or seed a random process in your next project.
🔢 How to Use
- Set Min and Max, or tap a Quick Range preset.
- Choose how many numbers to generate.
- Enable No Repeats to guarantee unique results.
- Switch Display Format to see Hex, Binary, or Ordinal output.
- Press Enter or click Generate anytime.
🎲 How Randomness Works
Numbers are generated with the browser's crypto.getRandomValues() API when available, with a legacy fallback for older browsers. It is suitable for games, sampling, and everyday decisions.
With No Repeats enabled, a Fisher-Yates shuffle builds a pool of all possible values and draws without replacement — guaranteed zero duplicates.
🎨 Hex Color Format
Selecting Hex Color converts each number to a 6-digit #RRGGBB value — the same format used in CSS and design tools.
Use the Hex Color quick range (0–16,777,215) to generate completely random colors, or stay in 0–255 for single-byte hex values.