Skip to content
Address & Location

Random Capital City Generator

Draw random capital cities from anywhere in the world or from a single continent, each paired with its country and flag — perfect for quizzes, study and travel daydreams.

  • 100% free
  • Runs in your browser
  • No sign-up
  • CSV · JSON · TXT export
Options

Tip: press Enter or Space to generate again.

Ready

What is the Random Capital City Generator?

The Random Capital City Generator picks national capitals and shows each one with the flag and the country it governs, such as “Bern (🇨🇭 Capital of Switzerland)” or “Damascus (🇸🇾 Capital of Syria)”. It is a fast way to test your geography knowledge or prepare questions for others.

Two options shape the results. The Continent menu lets you draw from Anywhere or narrow the pool to Africa, Asia, Europe, North America, South America or Oceania — ideal when a class is studying one region. The “How many?” field sets how many capitals you get, from 1 to 50 in a single click.

Capitals are a classic quiz topic because so many are surprising: Bern rather than Zurich, Canberra rather than Sydney, Ottawa rather than Toronto. Seeing the answer next to the country helps those facts stick. Results are generated locally in your browser using the Web Crypto API, nothing is stored, and you can copy the list or export it as CSV, JSON or TXT for flashcards and worksheets.

How to use the Random Capital City Generator

  1. Choose a Continent, or keep “Anywhere” for a worldwide draw.
  2. Set How many? to a number from 1 to 50.
  3. Press Generate to reveal the capitals with their countries.
  4. Copy or export the list to build flashcards or quiz sheets.

Popular uses

  • Teachers — quiz students on the capitals of the continent you are studying.
  • Students — make quick self-tests before a geography exam.
  • Trivia hosts — pull fresh “name the capital” questions for pub quizzes.
  • Travelers — let chance suggest your next city break.
  • Writers — choose an unexpected capital as a story setting.

Why use RandNow?

  • Instant & unlimited — no sign-up, no daily caps.
  • Private by design — results are generated in your browser, not on our servers.
  • Export-ready — copy, CSV, JSON and TXT downloads built in.
  • Cryptographically random — powered by the Web Crypto API.

Study tips for learning capitals

Work one continent at a time: generate five capitals, cover the answers and try to name them, then generate five more. Group tricky pairs where the capital is not the largest city — Canberra, Ottawa, Bern, Ankara, Brasília — and review them separately. Saying the country and capital out loud together helps memory more than silent reading.

A few countries have more than one capital or split government functions between cities, so check a reliable atlas if you need an official answer. Press Generate again for a fresh set — it’s free and unlimited.

Frequently asked questions

Can I get capitals from just one continent?

Yes. Pick Africa, Asia, Europe, North America, South America or Oceania in the Continent menu.

How many capitals can I generate at once?

Up to 50 per click.

Does it show which country each capital belongs to?

Yes, every result includes the country name and its flag.

Is this good for a geography quiz?

Very. Generate a batch, hide the country names and ask players to match them.

Need random data? Get it now.

Pick any of 144 generators, hit Generate and copy or export the results as CSV, JSON or TXT. No account, no limits, nothing stored.

Start generating — free