Random Number
Generate random numbers with custom ranges, unique outputs, and multiple display formats.
🎯 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 using JavaScript's Math.random() — a fast pseudo-random generator suitable for games, sampling, and 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.