Want a Custom tool for Yourself?

Need a Custom Tool? We build custom tools that can save hours per employee per day.

Random Country Capital Generator

Practice capitals with our random country and capital generator. Create quiz lists, pick quantity, and filter by letters to match your needs.

Random Country Capital





Last updated: May 25, 2026

Created by: Eon Tools Dev Team

Reviewed by: Skanda Aryal



How this country and capital generator works

You want a country and its capital, together, without going and looking it up. One click. Press Generate and your browser picks a pair at random and shows you both halves. Turn up the Number box and you get several, all different. Copy takes them.

Bhutan and Thimphu. Estonia and Tallinn. Ghana and Accra. Laos and Vientiane. Mongolia and Ulaanbaatar. Nepal and Kathmandu. Palau and Ngerulmud. Paraguay and Asunción.

This tool has no starts-with or ends-with filters, unlike the other country pickers. A filter would have to choose whether to match the country or the capital, and either choice would surprise half the people using it.

A capital is a decision, not a fact

Ask where a mountain is and the answer will be the same in a hundred years. Ask where a capital is and you are asking about a law.

A capital is wherever a government says it sits. It can be written into a constitution, moved by an act of parliament, or split across three cities because three regions could not agree. It has nothing to do with size, age, wealth, or how many tourists arrive.

Which means a country can change its capital on a Tuesday, and every geography poster in the world is wrong on Wednesday.

Nothing else in geography behaves like this. Rivers move slowly. Borders move rarely. Capitals move whenever a parliament votes.

Capitals move, several times a generation

Burundi. For decades the capital was Bujumbura, on the shore of Lake Tanganyika. In 2019 the government designated Gitega, a much smaller town in the centre of the country, as the political capital.

Myanmar moved its seat of government to a purpose-built city called Naypyidaw. Tanzania spent decades moving from Dar es Salaam to Dodoma. Côte d'Ivoire made Yamoussoukro its official capital while the government stayed largely in Abidjan.

In every case the reason is roughly the same. The old capital was on the coast, or in one corner, and a country that wants to feel like one country does not want its government sitting at the edge of it.

Sometimes the reason is defensive, sometimes symbolic, sometimes it is a president who was born in the new place. But the pattern of movement is almost always outward from the sea and inward towards the middle.

The capital with the most name changes in the world

Kazakhstan's capital is the extreme case, and it holds a Guinness World Record for it.

The city was called Akmolinsk until 1961. Then Tselinograd, until 1992. Then Aqmola, until 1998. Then Astana, which simply means "capital" in Kazakh. In 2019 it was renamed Nur-Sultan. In September 2022 the name was changed back to Astana.

Five names in sixty years, and the current one is a name it already had. It also only became the capital at all in 1997, having taken the job from Almaty, which is still the largest city in the country.

So a city whose name means "capital" spent most of its existence not being one, was briefly named after a man, and is now named after its own job description.

Six countries share a name with their capital

  • Djibouti and Djibouti
  • Luxembourg and Luxembourg
  • Monaco and Monaco
  • San Marino and San Marino
  • Singapore and Singapore
  • Vatican City and Vatican City

Four of the six are tiny. Three are city-states, which is to say the country and the city are the same thing and the question does not really arise.

There are four more that come close and do not quite land: Guatemala and Guatemala City, Kuwait and Kuwait City, Mexico and Mexico City, Panama and Panama City. The word "City" is doing all the work of telling the two apart.

Generate one of these on a quiz night and expect an argument about whether it counts.

The capital is usually not the biggest city

This trips up more people than anything else on this page.

The United States has Washington, not New York. Australia has Canberra, not Sydney. Turkey has Ankara, not Istanbul. Brazil has Brasília, not São Paulo. Canada has Ottawa, not Toronto. Switzerland has Bern, not Zürich. Nigeria has Abuja, not Lagos. New Zealand has Wellington, not Auckland.

Look at that list again. Canberra, Brasília, Abuja and Washington were all built or chosen specifically to be capitals, in several cases because two bigger cities each wanted the job and neither would let the other have it. The compromise was to put the government somewhere neither of them was.

Then there is the opposite problem. Some countries have more than one capital. South Africa runs its executive from Pretoria, its parliament from Cape Town, and its highest court from Bloemfontein. Bolivia has a constitutional capital and a seat of government in different cities, and so does the Netherlands.

A pair of columns cannot hold that. Any list of capitals is, at some point, choosing one answer where a country deliberately declined to give one.

Ways people actually use this

  • Flashcards without the cards. Generate ten pairs, cover the right column, work down. Then swap and go from capital to country, which is much harder.
  • Quiz writing. Ten pairs gives you ten questions in one click, and the random draw stops you from unconsciously picking only the easy ones.
  • Classroom warm-ups. One pair a day on the board. Over a school year you cover most of the world.
  • Checking yourself. Generate twenty and see how many you knew. Most people who think they are good at this get somewhere between six and eleven.
  • Testing a form. A random pair is a fast way to find out that your validation hates Sri Jayawardenepura Kotte.

Questions people ask

What makes a city a capital?

A law. Usually a constitution, sometimes an act of parliament. It is not about population, wealth, or age. It is about where a government has decided to sit.

Can a country have more than one capital?

Yes, and several do. South Africa has three, one each for the executive, the legislature and the judiciary. Bolivia and the Netherlands both split the constitutional capital from the seat of government.

Which capital is the newest?

Depends what you mean by new. Naypyidaw in Myanmar was built for the purpose within the last twenty years. Gitega in Burundi took the job in 2019, but the town itself is old and was the seat of the Burundian kings long before.

Is the capital always the biggest city?

No, and it is surprising how often it is not. Washington, Canberra, Ottawa, Ankara, Brasília, Bern, Abuja and Wellington are all smaller than the largest city in their own country.

Why has Kazakhstan's capital changed name so often?

It has been Akmolinsk, Tselinograd, Aqmola, Astana, Nur-Sultan and Astana again, five names in sixty years, which is a Guinness World Record. It became the capital in 1997, taking the role from Almaty.

References

  1. Astana, Kazakhstan, Britannica
  2. Gitega, Britannica
  3. United Nations member states


Skanda Aryal

Skanda Aryal is a full stack engineer focused on accessible web experiences, with personal interests in time zones, travel, hiking, and geography. His enjoys playing with utilities tied to movement, schedules, places, and time based coordination. At Eon Tools, he reviews geography, transportation, times now, and date and time tools.