Skip to content
ToolZone

Random Country

Pick a random country from around the world, useful for geography games, travel inspiration, or random sampling in trivia.

Runs in your browser. Nothing you enter or upload leaves your device.

🌍

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Random Country

Random Country picks a country at random and shows its flag and name. Filter by continent or draw from the full list of 192 countries, and keep track of your last six picks in the Recent row.

How it works

The tool holds a list of 192 countries, each tagged with a continent and a flag emoji: 51 in Africa, 35 in the Americas, 47 in Asia, 45 in Europe and 14 in Oceania. Choosing a continent narrows the pool to that group; All uses the whole list.

Pressing Generate Country cycles quickly through random names for a moment, then picks the final country with Math.random, every country in the pool having the same chance. If the pick matches the previous result, it draws again. The result is added to a Recent row that keeps the last six different countries.

How to use

  1. 1

    Choose All or a continent: Africa, Americas, Asia, Europe or Oceania.

  2. 2

    Click Generate Country.

  3. 3

    Read the flag and country name, and click Copy to copy the name.

  4. 4

    Click any country in the Recent row to show it again.

Worked examples

European flag quiz

A teacher picks countries for a flag quiz.

Input
Continent: Europe
Result
🇲🇰 North Macedonia

Students guess the capital (Skopje) before the next roll.

Dinner challenge

A family picks a country whose food they'll cook this weekend.

Input
Continent: All
Result
🇵🇪 Peru

Ceviche or lomo saltado it is.

Limitations
The list has 192 entries and currently does not include Republic of the Congo, the Democratic Republic of the Congo or Côte d'Ivoire. Only the name and flag are shown; there's no capital, population or map data. Flags may appear as two letters on Windows, where flag emoji aren't supported.
Assumptions
Each country in the selected pool should have an equal chance of being picked.
Privacy
Countries are picked in your browser, and nothing is sent or saved.

Frequently asked questions

Does this include all recognized countries?+

It includes 192 countries: most UN members plus Taiwan and Vatican City. Republic of the Congo, the Democratic Republic of the Congo and Côte d'Ivoire are currently missing from the list.

Can I use this for travel destination ideas?+

Yes. It's a fun way to find a place to read about or add to your list when you don't have a destination in mind.

Why do I see letters instead of a flag?+

Windows doesn't draw flag emoji, so it shows the two-letter country code instead. Phones and Macs display the flag.

Which continent is Russia or Turkey in?+

In this tool Russia is listed under Europe and Turkey under Asia.

Can the same country come up twice in a row?+

No. If the new pick matches the previous one, the tool picks again.

Related tools