Random Number Generator
Secure RNG with unbiased sampling. Generate one or many values, with unique/sort/decimals.
🎲 d6
🎲 d20
🪙 Coin (0/1)
1–100
-10…10 ×5
Uses
crypto.getRandomValues when available (with rejection sampling to remove modulo bias). Falls back to Math.random if needed.
Tips
- Integers: set Decimals = 0. For decimals, choose 1–8; we map to an exact scaled integer range for uniformity.
- Unique requires the range to have at least as many discrete values as Count.
- Sort only changes display order; generation is still random.