Random Country Generator

Pick a random country, by continent, with the option to leave some out.

Random Country Generator

Continents
Separate names with commas. Common alternative names and two-letter codes work too.

Press Pick a country or hit the space bar.

Random Country Generator by OneToAnything ↗

Embed this tool on your website

Paste this code into your class page, blog, wiki, or website builder. It works anywhere that accepts HTML or an embed code.

  • Google Sites: click Insert, then Embed, choose Embed code, paste, and press Next and Insert. Publish the site to make it live.
  • WordPress: add a Custom HTML block (type /html) and paste the code. If the tool disappears when you save, your account isn't allowed to post iframes, so ask the site's administrator.
  • Google Classroom or an app without embed code: post the link to this page instead. Everything still runs in the browser.
Preview

How to use the random country generator

  1. Leave every continent checked to draw from the whole world, or uncheck the ones you want to leave out.
  2. Optional: type countries into Leave out countries to skip them, such as Japan or your own.
  3. Choose how many countries you need and whether repeats are allowed. Set Pick to Per continent for a draw like two countries per continent.
  4. Press Pick a country or hit the space bar.

Which countries are included

The list includes all 193 member states of the United Nations plus its two observer states, Palestine and Vatican City, for 195 in total. Territories, dependencies, and partially recognized states, such as Puerto Rico, Greenland, Hong Kong, Kosovo, and Taiwan, aren’t included.

Continents follow the United Nations geographic regions, with the Americas split into North America (including Central America and the Caribbean) and South America. That puts a few countries somewhere you might not expect: Russia counts as Europe, while Türkiye, Cyprus, Georgia, Armenia, and Azerbaijan count as Asia.

ContinentCountries
Africa54
Asia48
Europe44
North America23
Oceania14
South America12

Leave countries out

Maybe you’ve already been to a country, studied it, or live there. Type any countries to skip into Leave out countries, separated by commas. The tool understands the names in its list, common alternative names such as USA, UK, Turkey, or Ivory Coast, and two-letter country codes. If a name isn’t recognized, the note under the button says so, so you’ll know it wasn’t left out. The draw still comes from every other country, each with an equal chance.

The same number from each continent

By default, every country in the draw has the same chance, so a big continent like Africa comes up more often than Oceania. Choose Per continent to balance it: you get that many countries from each checked continent, grouped by continent. It’s handy for a world tour itinerary, a classroom with six groups, or a geography quiz that covers the whole map. Uncheck a continent to leave it out. With no repeats on, you can’t ask for more countries per continent than it has.

Ideas for a random country

  • Geography games. Find the country on a map, name its capital, or guess its flag. Pair it with the random letter generator for “name a country that starts with…” rounds.
  • Travel inspiration. Pick a destination for your next trip or your “someday” list.
  • Cooking challenges. Make a dish from a different random country each week.
  • Classroom research. Assign each student a random country for a report or presentation. Use No repeats so nobody gets the same one, and the copy button to paste the list.

Frequently asked questions

How do I pick a random country except one or two?

Type the countries you want to skip into Leave out countries, separated by commas, then pick. The note under the button shows how many countries are still in the draw. Common alternative names like USA or UK work, and so do two-letter codes.

Can I get one random country from each continent?

Yes. Set Pick to Per continent and leave How many at 1. For five from each continent, set it to 5 and keep No repeats checked.

Can I pick a random country that isn't in Europe?

Yes. Uncheck Europe, or any other continent, and the draw uses only the continents left checked. Your choice is remembered for next time.

How many countries are there?

There’s no single official answer, but 195 is the most widely used count: the 193 UN member states plus the two UN observer states. That’s the list this generator uses.

Why aren't places like Taiwan, Kosovo, or Greenland in the list?

The list follows UN member and observer states. Territories, dependencies, and partially recognized states aren’t included. That keeps the list consistent, and it’s not a statement about any place.

Why do some flags show up as letters?

Flags are displayed as emoji, and some systems, including Windows, show flag emoji as two-letter country codes. The country’s name is always shown in full.

Can I pick only from one continent?

Yes. Uncheck every other continent. Your choice is remembered for next time.

What can I use a random country for?

Geography games, classroom research assignments, travel ideas, cooking a dish from somewhere new, or picking a place to learn about. For a custom list, paste it into the wheel spinner.