Random Number 1 to 20
Generate a random number between 1 and 20 — the classic range for tabletop RPGs, D&D ability checks, and classroom number assignments. Each number has a 5% probability, matching the distribution of a standard 20-sided die (d20). Roll your digital d20 with cryptographic fairness.
—
—
History
Common Uses
- ✓ D&D d20 ability checks and saving throws
- ✓ Tabletop RPG attack rolls
- ✓ Classroom number assignments
- ✓ Team drafts and player ordering
- ✓ Score generation for games
Frequently Asked Questions
Is this the same as rolling a d20 die?
Exactly. This generates numbers with the same uniform probability distribution as a perfectly fair 20-sided die — each number from 1 to 20 has a 5% chance. It's the perfect digital substitute for tabletop gaming.
Can I use this for Dungeons & Dragons?
Yes! This is a perfect digital d20 for ability checks, saving throws, attack rolls, and initiative. It uses cryptographic randomness that's actually fairer than physical dice, which can develop wear patterns over time.
Can I type a custom count, like 6 numbers between 1 and 20 at once?
Yes — the "How many?" box accepts any count from 1 to 1,000 (type 6, 25, 500…), and the quick buttons fill common values. Turn on "No duplicates" when every number must be unique.
How many possible results are there in the 1 to 20 range?
Exactly 20 (counting both 1 and 20). Each has an identical 1-in-20 chance (5%) of appearing on every draw, independent of previous results.
Are my generated numbers stored or logged?
No. Numbers are generated locally in your browser with crypto.getRandomValues() and are never sent to, or stored on, any server. Click Clear or reload the page and they are gone.