Country at Random

Random Capital

Draw a random national capital and reveal which country it belongs to, or switch to quiz mode and test yourself with four multiple-choice options and a running score.

Drawing a capitalโ€ฆ

How the pool and the quiz are built

This page draws from all 193 UN member states with a recorded capital -- the same 193-country pool as the main generator, filtered down to entries where the capital field isn't empty. In quiz mode, the correct country is drawn first with the site's standard crypto-secure random integer, then three distinct wrong answers are drawn from the rest of the pool without replacement, and all four options are shuffled before you see them -- so the correct choice's position never hints at the answer.

Five most populous capitals' countries

Computed live from the same pool this page draws from:

  1. 1. ๐Ÿ‡ฎ๐Ÿ‡ณ New Delhi -- India
  2. 2. ๐Ÿ‡จ๐Ÿ‡ณ Beijing -- China
  3. 3. ๐Ÿ‡บ๐Ÿ‡ธ Washington D.C. -- United States
  4. 4. ๐Ÿ‡ฎ๐Ÿ‡ฉ Jakarta -- Indonesia
  5. 5. ๐Ÿ‡ต๐Ÿ‡ฐ Islamabad -- Pakistan

What counts as a capital here

Capital city names come from the same cited country dataset used across this site (see the About page for the exact source and licence). Some countries -- South Africa -- carry more than one recorded capital; this tool treats all of them as the answer together rather than silently dropping one, since picking a single "true" capital in those cases is itself a judgment call this site would rather not make quietly.

Frequently Asked Questions

Do all 193 UN member states have a recorded capital in this pool?

Yes -- every UN member state in the underlying dataset has at least one recorded capital, so this page's pool is the full 193. (A handful of non-independent territories elsewhere on this site, like Antarctica or the US Minor Outlying Islands, have no capital on file -- but none of those are UN members, so they never reach this pool.)

Why do some countries list more than one capital?

1 countries in this pool have more than one capital city on file -- South Africa. This usually reflects a country splitting seats of government (legislative vs. judicial vs. administrative) across cities; the tool shows every listed capital together rather than picking one for you.

How does quiz mode pick the three wrong answers?

The same unbiased draw-without-replacement used everywhere on this site: three distinct countries are drawn from the remaining pool (excluding the correct answer), then all four choices are shuffled with a true Fisher-Yates shuffle before display, so the correct answer's position on screen is never predictable.

Is my quiz score saved?

No -- the score only exists in this browser tab's memory for the current session. Reloading the page or switching modes resets it to 0/0. Nothing about your quiz performance is sent anywhere or stored.

Can the same capital repeat back-to-back?

The tool always excludes the just-shown capital's country from the very next draw, so you won't see the identical question twice in a row -- but beyond that one exclusion, every draw is independent, so a capital could still reappear a few rounds later.

Every result here is drawn live in your browser with cryptographically-secure randomness -- nothing is predetermined, saved, or replayable. See the Terms.

Every tool

Identify

Reference