Random Country Generator
Pick 1–10 random countries from all 195 UN-recognized nations, with flag emoji, continent, and capital. Includes a flag quiz mode. Free and 100% in your browser.
Guess the country from its flag, then click to reveal the answer
Quick Answer
A random country generator picks one or more countries at random from a complete list. Our tool draws from all 195 UN-recognized countries — 193 member states plus Vatican City and Palestine — and shows each pick with its flag emoji, continent, and capital city. Choose 1–10 unique countries per draw, switch on quiz mode to guess countries from flags, and copy or share results instantly. Great for geography study, travel roulette, and classroom games.
How It Works
Slide to choose how many countries to draw — 1 to 10
Optionally enable quiz mode to guess countries from their flags
Click Generate Countries for a fresh fair draw from all 195 nations
Click quiz cards to reveal answers, then copy or share the result
Key Facts
- Draws from all 195 UN-recognized countries (193 members + Vatican City + Palestine)
- Pick 1 to 10 unique countries per draw — no duplicates
- Every country includes its flag emoji, continent, and capital city
- Quiz mode hides names so you can guess countries from flags
- Crypto-secure Fisher–Yates shuffle for fair draws
- One-click copy and native share support
- 100% client-side: works offline after load, nothing sent to a server
Frequently Asked Questions
How many countries are in the generator?
All 195 UN-recognized countries: the 193 UN member states plus the two observer states, Vatican City and Palestine. Each entry includes the country name, its continent, and its capital city, and every country renders with its correct flag emoji.
Can I draw multiple countries at once?
Yes. Set the slider from 1 to 10 and each draw picks that many unique countries — no repeats within a draw — using a cryptographically secure Fisher–Yates shuffle, so every country has an exactly equal chance.
What is quiz mode?
Quiz mode hides the country names and shows only the flag emoji. Test yourself (or a class) on which country each flag belongs to, then click a card to reveal the answer along with its continent and capital.
How are the flag emojis created?
Each flag is built from the country's ISO 3166-1 alpha-2 code using Unicode regional indicator symbols — the two letters of the code are mapped to 🇦-🇿 characters, which together render as the national flag on all modern devices.
Is it free and private?
Completely free with no sign-up and no limits. All data is bundled in the page and every draw runs in your browser — nothing is sent to any server, and the tool keeps working offline once loaded.