What is the random country generator?
The random country generator picks a country of the world at random and shows you its name and flag. It is a simple but very useful tool to learn geography, get inspired for a trip, or play guess-the-capital and guess-the-flag, letting luck decide the destination.
Every time you use it you get a different country from all those in the world, each with the same probability.
When to use the country generator?
- Learning geography by discovering countries, flags and capitals at random.
- Travel inspiration: let luck suggest your next destination.
- Quiz games and trivia about countries and flags.
- Classroom activities to review the world map.
How does our generator work?
When you tap, the page picks a country at random from its list with the browser’s pseudo-random generator (Math.random()) and shows its flag. Every country is equally likely and each pick is independent of the last.
All the computation happens in your browser, with nothing sent to a server.
Game ideas with countries and flags
The random country is great for lots of quick games, alone or in a group. The classic one is guessing the capital: you draw a country and try to name its capital before checking it. You can also play at naming a typical dish, a language or a neighboring country, or placing it on the map from memory. For the classroom it works really well as revision: each student draws a country and shares three things they know about it. And if you use it as travel inspiration, you can add a fun rule: the first country that comes up that neither of you has visited wins the draw for the next trip.
Frequently asked questions
Does it include every country in the world?
Yes. The tool picks among the countries of the world, all with the same probability.
Does it also show the flag?
Yes. Along with the country name, its flag is shown so you can identify it.
Can it repeat the same country?
Yes. Each pick is independent, so a country can come up several times in a row.
Is any data stored?
No. Everything happens in your browser and nothing is sent to our servers.
How do I play "guess the flag"?
Cover the name with your hand (or have someone show you only the flag) and try to guess which country it is before revealing it. It's a great way to brush up on the world's flags, alone or competing for points.
Where do the flags come from?
They're shown using the system's own flag emojis, so they look the same on phone and computer without loading anything heavy or relying on external services.
Is it good for actually choosing a travel destination?
As a fun starting point, yes: it shakes up your routine and suggests places you might not have thought of. After that, of course, it's worth checking budget, dates and requirements before booking anything.