Get a random whole number from 1 to 20 — or several at once. Cryptographically fair, right in your browser.
Free, no sign-up Cryptographically fair Works offline
A random number from 1 to 20
This generator is preset to the range 1 to 20, so a single press of Generate gives you a fair whole number anywhere from 1 to 20 inclusive. You can raise the count to draw several at once, turn on no-duplicates to keep every number unique — ideal for raffles and winner picks — and switch on sorting to list them from low to high. Every draw uses the browser’s Web Crypto API with rejection sampling, so each value in the range is equally likely and there is no hidden bias.
Frequently Asked Questions
How do I get a random number from 1 to 20?
Press Generate — the range is preset to 1 to 20, giving a fair whole number anywhere in that span. For tabletop games where you want the twenty-sided die shown with its number, try the d20 roller. Every value from 1 to 20 has the same one-in-twenty chance, or 5%, on each press.
Can I generate several 1 to 20 numbers at once?
Yes — several 1 to 20 numbers can be drawn in one press. Raise the count field, and optionally turn on no-duplicates to draw unique values, or sorting to list them from low to high. The range only holds twenty values, so a no-duplicates draw stops at twenty and the tool tells you if you ask for more.
Is a 1 to 20 draw the same as rolling a d20?
The numbers are identical — both give a flat 1 to 20 with a 5% chance per value — but this page prints the number while the d20 roller draws the die and offers a modifier field. Use the generator when you want several numbers or a copyable list, and the d20 roller when you want the die and a bonus applied. Neither keeps any memory of previous results.
What is a 1 to 20 draw good for?
A 1 to 20 range fits picking one person from a group of twenty, choosing a question from a numbered list, or standing in for a twenty-sided die. Turn on no-duplicates and set the count to 20 to shuffle all twenty values into a random order, which works for turn order or seating. Copy then hands you that order as a comma-separated list.