Account

What new tool do you want?

Fun & Games

Random Country Generator

Pick random countries with their capital and continent — for geography games, travel inspiration, quizzes and drawing prompts.

How to use

  1. 1Filter by continent if you like and choose how many.
  2. 2Press Generate — tick 'Hide capitals' to turn it into a quiz.

Frequently asked questions

How many countries are included?

About 80 countries across every continent — a mix of large and well-known smaller nations.

Why do some countries list several capitals?

Countries like South Africa and Bolivia split government functions between more than one capital city.

Can I use it for a travel pick?

Yes — filter by continent and let it choose your next dream destination.

What's in the list, and what isn't

The pool holds 80 countries spanning every inhabited continent, weighted toward larger and more widely-known nations rather than attempting to be a complete UN member list — so it's reliable for general geography practice but isn't exhaustive, and a handful of smaller countries are intentionally left out in favor of more recognizable ones.

Worked example: filtering to Oceania

Setting the continent filter to Oceania and asking for 5 countries will only ever return 3, because the entire dataset has just three Oceania entries: Australia (Canberra), New Zealand (Wellington) and Fiji (Suva). This is a direct consequence of how filtering works — the tool pulls from whatever matches the continent, then shuffles and slices, so requesting more than the filtered pool contains simply returns everything available rather than erroring or padding the list.

Turning it into a quiz

Toggling 'Hide capitals' replaces the capital name with a bare question mark in the output, turning a simple country list into a geography quiz format — generate a batch, read out the country names, and have players guess the capital before revealing the hidden answer by rerunning without the toggle.

Why some countries list more than one capital

South Africa appears with three cities (Pretoria, Cape Town and Bloemfontein) and Bolivia with two (Sucre and La Paz) because both countries genuinely split their government functions across multiple official capitals — Pretoria holds the executive branch while Cape Town holds the legislature, for instance — rather than this being a data error.

Türkiye shows up when I filter to Asia and when I filter to Europe

The continent label on Türkiye is Asia / Europe, and the filter keeps a country when that label contains the continent I picked. So Türkiye is in both lists, while a country tagged only Africa stays out of Europe. Anywhere is the opening choice, the count is 1, and capitals are shown. Asking for 30 from Anywhere gives 30 different countries, because the full list is shuffled and then cut, with no repeat inside that one batch. Oceania only has three entries, so a request for more than three still returns three.

Hide capitals changes the line, and a fresh press shows the answer again

With the quiz switch on, the capital is replaced by a question mark and the continent is left off that line. Turning the switch back off writes the capital and the continent again, but it is a new draw, not a reveal of the previous names. The count box allows 30, yet the actual batch never exceeds how many countries matched the filter. An invalid count falls back to 1. The button says Generate, and changing the continent rebuilds the list without an extra click. Each country is its own row with a copy control, and copy all joins the batch.

Related tools

More: Fun & Games