Random Country Generator
RG-140Press Generate to pick a random country from a list of 195. Show the name only, or the name with its two-letter ISO code.
Runs in your browser. Nothing is uploaded.
Not used. Press the button to generate.
Countries
How to use it
- Choose Name or Name and ISO code.
- Choose how many countries you want.
- Press Generate to draw them.
- Use Sort A to Z if you want the picked countries in order, then copy the list.
What counts as a country here
The list holds the 193 member states of the United Nations plus the two observer states, the Holy See (shown as Vatican City) and the State of Palestine, for 195 entries. Codes are ISO 3166-1 alpha-2. Taiwan, Kosovo and territories are not listed. That is a choice of scope, not a statement about any claim, and the list needs an update if states change.
Typical uses
Teachers use it for geography quizzes, families use it to pick a country to read about or cook a meal from, and game makers use it to set a destination. With the ISO code on, it also gives a handy sample of country codes for test data. A pick is uniform: every country has the same chance, large or small.
Questions people ask
How do I pick a random country?
Press Generate with a count of 1. You get one country name. Raise the count to get several in one go. Each press is a new draw, so repeat until you are happy with the result.
How many countries are in the list?
There are 195: the 193 United Nations member states plus the Holy See and the State of Palestine. Other places that some lists include, such as Taiwan and Kosovo, are not part of this list.
What are the two-letter codes?
They are ISO 3166-1 alpha-2 codes, such as JP for Japan and BR for Brazil. Choose Name and ISO code to show them in brackets after each name.
Is each country equally likely?
Yes. Every entry has the same chance, using the browser secure random generator with no bias for large or small countries. With No repeats on, a country does not appear twice in one result.
Does it include flags?
Not in this tool. For emoji flags with country names, use the random flag generator on this site. This page returns names and optional ISO codes as plain text.
About this tool
Picks from 195 entries: the 193 member states of the United Nations plus the Holy See and the State of Palestine, which have observer status. Codes are ISO 3166-1 alpha-2. Names are the common English short names. Taiwan, Kosovo and territories are not listed, which is a choice of scope, not a statement about any claim. The list can go out of date if states change. Picks are made in your browser with crypto.getRandomValues, nothing is stored or sent, and each click gives a new result.