Generate truly random numbers, roll dice, flip coins, pick random items from a list, and more. Instant, free and unbiased.
No history yet. Generate some numbers!
Click any die or button to roll. Supports D4, D6, D8, D10, D12, D20, D100.
or press Space
Enter items one per line. The picker will randomly select from your list.
JavaScript's Math.random() returns a float between 0 (inclusive) and 1 (exclusive). We scale it to any range.
To generate unique numbers, we use a Fisher-Yates shuffle on a range array and take the first N elements.
Math.random() is a pseudo-random number generator (PRNG) — it uses an algorithm (typically xorshift128+) seeded by the current time. For cryptographic purposes, use crypto.getRandomValues() instead.