Random Country Generator
Generate random countries from around the world with flags and continent info.
Maximum 50 countries
No countries generated yet
Set your count and click Generate.
About Random Country Generator
The Random Country Generator picks one or more countries at random from a complete dataset of 195 internationally recognized sovereign states. Every result card shows the country name, its Unicode flag emoji, and a colour-coded continent badge — Africa, Asia, Europe, North America, South America, or Oceania — giving you geographic context at a glance without any extra lookup.
The tool shines whenever you need an unbiased, instant selection of nations: setting up a geography quiz round, drawing a random destination for a travel challenge, assigning countries to students for a research project, generating test data for a map or dashboard, or populating a world-trivia game. You can request anywhere from 1 to 50 countries in a single click and copy individual names or the entire comma-separated list with one more click.
Every pick is computed locally in your browser using JavaScript — no request leaves your device, nothing is logged, and no account or payment is required. The flag emojis render via Unicode regional indicator characters, so they appear natively on virtually every modern browser and operating system without loading any images or external fonts.
Key Features
195-country dataset
Covers all internationally recognized sovereign states across all six inhabited continents, so no nation is left out of the draw.
Flag emoji and continent badge
Each result card shows the country's Unicode flag and a colour-coded continent label, giving you geographic context without any extra research.
Configurable batch size
Set the count from 1 to 50 before clicking Generate, making it practical for anything from a single trivia question to a full tournament bracket.
Copy individual or copy all
Click the copy icon on any card to grab just that country name, or use "Copy All" to get every name as a comma-separated list ready to paste into a spreadsheet or script.
Runs entirely in your browser
All randomisation happens in JavaScript on your device. No data is sent to a server, no account is needed, and the tool works offline once the page has loaded.
Instant re-roll
Hit Generate again at any time to replace the current results with a fresh set — useful for iterating through bracket match-ups or quiz rounds quickly.
How to Use
Set Count
Enter how many random countries you want to generate (1 to 50).
Generate
Click the Generate button to pick random countries with their flags and continents.
Copy & Use
Copy individual country names or all results at once to use in your project, quiz, or game.
Example
Generating 5 random countries returns each country name with its flag emoji and continent. "Copy All" produces a comma-separated list of the names.
Count: 5 🇧🇷 Brazil — South America
🇯🇵 Japan — Asia
🇳🇴 Norway — Europe
🇰🇪 Kenya — Africa
🇳🇿 New Zealand — Oceania
Copy All → Brazil, Japan, Norway, Kenya, New Zealand Common Use Cases
- arrow_circle_right
Geography quizzes and trivia nights
Generate a batch of countries on the spot so quiz hosts can read out names and flags without preparing a list in advance. Unlike the Random Flag Generator, results here include the country name, making the question or answer self-contained.
- arrow_circle_right
Classroom country-research assignments
Teachers can generate one country per student and hand out the comma-separated list, ensuring an even spread across continents — something a random number generator alone cannot guarantee.
- arrow_circle_right
Travel bucket-list challenges
Pick a random set of nations to seed a travel challenge or spin-the-globe game. The continent label helps you immediately spot whether the results cover a good geographic spread.
- arrow_circle_right
Populating test data for maps and dashboards
Developers building choropleth maps, world dashboards, or analytics demos can quickly get a realistic sample of country names to use as placeholder data without compiling a list manually.
- arrow_circle_right
World-trivia and board-game content
Game designers and content creators needing country names for cards, questions, or prompts can generate and copy results directly into their document — faster than scrolling through a world atlas or Wikipedia list.