Live API · 250 Countries · No Signup

Random Country Generator
explore the world.

Discover a random country with flag, capital, population, area, languages, and currency. Filter by region or go fully random across all 250 countries. Powered by REST Countries API — free, no signup.

Random Country Generator

Choose a region and click Generate a Country to explore the world

/ 01 — How It Works

Pick a region. Discover a country.

01

Choose a Region

Filter by Africa, Americas, Asia, Europe, or Oceania. Or leave it on Any Region to get a fully random country from anywhere in the world.

02

One API Call

The full country list is fetched once from REST Countries and cached in memory. Each subsequent click is instant — no extra network requests.

03

Rich Data

Each result shows 7 fields: flag, capital, population, area, region, languages, and currency. Everything you need at a glance.

04

Copy the Name

Click Copy name to save the country name to your clipboard instantly. Perfect for quizzes, geography games, and travel planning.

/ 02 — Data Fields

What data is shown for each country?

Geography

Capital City

The official capital city of the country. Some countries have multiple capitals — the primary one is shown.

Example: Paris · Tokyo · Nairobi
Region & Subregion

The continental region and more specific subregion the country belongs to.

Example: Europe · Northern Europe
Area

Total land area of the country in square kilometres, formatted with thousand separators.

Example: 9,596,960 km² (China)

People & Economy

Population

The estimated total population of the country, formatted with thousand separators for readability.

Example: 1,402,112,000 (India)
Languages

Official languages spoken in the country. Multiple languages are comma-separated.

Example: French, English (Canada)
Currency

The official currency name and symbol used in the country.

Example: Euro (EUR, €)

Other Fields

Country Code

The ISO 3166-1 alpha-2 two-letter country code used internationally for identification.

Example: DE · JP · BR · AU
/ 03 — FAQ

Questions people ask

Where does the country data come from?

Data is fetched live from REST Countries (restcountries.com) — a free, open-source API with no key required. It provides data for all 250 countries worldwide.

Is any data sent to a server?

The only request made is to the REST Countries API to load country data. No personal data, inputs, or usage information is transmitted or stored by us.

Can I filter by region?

Yes. Use the Region dropdown to limit results to Africa, Americas, Asia, Europe, or Oceania. Select Any Region for a fully random result from all 250 countries.

What information is shown for each country?

Each result shows the country's name, flag, capital, region, subregion, population, area, languages, and currency.

How is the random country picked?

The full country list is fetched once from the API and cached in memory. Each click randomly selects one entry from the (optionally filtered) list — no repeated API calls needed.

Ready to explore the world?

Generate a Country Now →