World Capital Generator
Generates a random capital city from Asia, Africa, the Americas or Oceania — for geography trivia or travel-planning inspiration. Europe's capitals have a page of their own.
What this generator does
Draws one of twenty capital cities from outside Europe, with its country. Good for quiz writing and geography revision: the twenty mix the capitals everyone knows (Tokyo, Cairo) with the ones a quiz catches people on, where the capital is not the biggest city (Canberra, Ottawa, Ankara, Brasília, Pretoria, Rabat).
What you'll get
This generator draws from a hand-checked list of 20 entries. Here is a spread of 6 of them, so you can see the style before you generate:
- Tokyo, Japan
- Brasília, Brazil
- New Delhi, India
- Wellington, New Zealand
- Bangkok, Thailand
- Rabat, Morocco
A fixed sample of the list, not a live draw — your own results are picked at random from all 20, without repeating until the list runs out. Capital cities of world countries across every inhabited continent (public/factual list). Last reviewed 2026-08-17.
How to use this tool
- Press generate for a capital.
- Generate again for another one.
Understanding the controls
- Seed
- Typing the same word reproduces the same capital while the generator is unchanged, useful for setting the same question for two separate teams. The sequence is deterministic, not cryptographic.
Common use cases
- Geography trivia
- Travel bucket-list inspiration
- Classroom geography activities
Randomness and fairness
Every capital on the list is equally likely, drawn with the browser's cryptographic random number generator. There is no weighting by population or prominence, which is deliberate — Suva is as likely as Tokyo.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- Several countries have more than one capital, splitting legislative, executive and judicial functions between cities. The list gives the one most commonly cited.
- Which territories count as countries is politically contested in a number of cases.
- Capitals move. Any list needs periodic checking rather than being assumed current.