Random Country Generator
A random country generator picks one or more countries from the 193 United Nations member states by shuffling the full list with your browser's cryptographic random source. Choose how many countries you want, from 1 to 10, and optionally a starting letter; every country appears at most once per draw.
193 countries in the pool.
- Peru
- Estonia
- Kenya
Sample draw shown before you press the button; every press picks new countries with no repeats.
Dicekite Team · Updated

How the random country generator works
The tool keeps a list of the 193 United Nations member states. When you press the button it shuffles that list with crypto.getRandomValues, using rejection sampling so every order is equally likely, and shows the first countries from the shuffled list. Because it takes from one shuffled list, no country can appear twice in the same draw. The pool is not saved or sent anywhere.
Worked example: 3 countries starting with S
Set the letter to S: the pool shrinks to 26 countries. Choosing 3 from 26 can happen in 26 × 25 × 24 ÷ 6 = 2,600 different sets, so each set has a 1 in 2,600 chance. Without a letter the pool is 193 countries and there are 1,179,616 possible sets of three.

Countries in the pool by first letter
The counts below come from the list used by the tool. Letters with no country are disabled in the menu.
| First letter | Countries |
|---|---|
| A | 11 |
| B | 17 |
| C | 16 |
| D | 5 |
| E | 8 |
| F | 3 |
| G | 11 |
| H | 3 |
| I | 9 |
| J | 3 |
| K | 5 |
| L | 9 |
| M | 18 |
| N | 11 |
| O | 1 |
| P | 9 |
| Q | 1 |
| R | 3 |
| S | 26 |
| T | 11 |
| U | 7 |
| V | 3 |
| Y | 1 |
| Z | 2 |

Is the draw fair?
Yes, in the sense that nothing about a country, its place in the alphabet or the time you press the button changes its chance. Each country in the pool has the same probability of being first, and the same is true for each later position. Pressing the button again replaces the old result, so copy it first if you want to keep it.
Ways to use a random country
- Pick a country for a geography quiz or a classroom warm-up.
- Choose a theme for a cooking night, a playlist or a reading challenge.
- Decide a place for a pretend trip, then research it together.
The list follows UN membership, so it leaves out places that are not UN members, and member names can change; check a current list if the exact name matters. For other draws, try the random objects generator or the main random generator.
Frequently asked questions
How many countries can I choose?
You can draw 1, 3, 5 or 10 countries at a time. If the letter you pick has fewer countries than you asked for, the tool shows all of them.
Can the same country appear twice?
Not in the same draw, because the tool shuffles the list and takes the first few. Across separate draws a country can come up again.
Which countries are included?
The 193 United Nations member states. It does not include territories or places that are not members.
Does it remember my results?
No. Results stay on the page and disappear when you press the button again or leave the page.
Did this fly?
Tell us if the generator worked for you or what to tweak.
Thank you! Your note has taken off.