Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Random Country & City

Discover random countries and cities around the world. Get geographic details, view on map, and learn about new places instantly.

Discover Random Places Around the World

Random Country & City Generator is a fun and educational tool that lets you explore the world by randomly selecting countries or cities. Whether you're planning your next travel destination, learning about geography, or just curious about different places, this tool makes discovery exciting and effortless.

Travel Inspiration

Can't decide where to go next? Let fate choose your destination and discover unexpected adventures.

Geography Learning

Discover countries and cities you've never heard of. Perfect for expanding your world knowledge.

Quiz & Games

Perfect for geography quizzes, educational activities, and fun challenges with friends.

Quick Reference

Get essential facts about any country instantly, including population, area, and currency.

What Information Do You Get?

For each randomly selected place, you'll receive comprehensive details to help you learn and explore:

Country Details

Complete information about each country:

  • Official name and flag
  • Capital city
  • Population and area
  • Currency and region

City Details

Essential city information:

  • City name and country
  • Population statistics
  • Geographic coordinates
  • Interactive location map

Interactive Map

Visual location reference:

  • Embedded OpenStreetMap
  • Exact location marker
  • Expandable map view
  • Geographic context

Quick Links

Instant access to more information:

  • Google Maps integration
  • Wikipedia articles
  • Copy to clipboard
  • One-click navigation

How to Use the Random Generator

1

Choose Your Mode

Select what you want to discover:

  • Country Mode - Generate random countries with full details including flag, capital, population, area, and currency
  • City Mode - Generate random cities from around the world with population and coordinates
2

Set Your Filters (Optional)

Narrow down your results to specific regions or countries:

  • For Countries - Filter by continent: Asia, Europe, Africa, Americas, or Oceania
  • For Cities - Choose a specific country or leave empty for worldwide random selection
3

Select Quantity

Use the stepper control to choose how many places to generate at once. You can select anywhere from 1 to 10 results per generation.

4

Generate Results

Click the Generate button to discover new places. For faster exploration, use keyboard shortcuts: press Space or R to generate instantly.

5

Explore Your Results

For each generated place, you can:

  • Copy - Copy the place name to clipboard for easy sharing
  • Maps - Open location in Google Maps for directions and street view
  • Wikipedia - Learn more detailed history and facts
  • Expand Map - Click the expand button for a larger, detailed map view
View Your History: Click the History button to see your recently generated places. Your history is saved locally in your browser and persists across sessions, keeping up to 20 recent items.

Features

Two Discovery Modes

Switch seamlessly between Country and City modes to explore different types of places. Each mode is optimized to display relevant information specific to that place type, ensuring you get the most useful details for your exploration.

Country Mode

National Information

  • Official flag and name
  • Capital city
  • Population & area
  • Currency & region
  • Geographic classification
City Mode

Urban Details

  • City name
  • Country location
  • Population data
  • Coordinates
  • Interactive map

Continent Filtering

Focus your exploration on specific regions of the world. Select from All, Africa, Asia, Europe, North America, South America, or Oceania to narrow down your random selections and discover places in your area of interest.

Africa

54 countries across diverse landscapes

Asia

48 countries, largest continent

Europe

44 countries with rich history

North America

23 countries and territories

South America

12 countries, diverse cultures

Oceania

14 countries, island nations

Comprehensive Country Information

Each country card displays detailed, accurate information to help you learn about different nations:

  • Country flag in high-quality SVG format for crisp display on any screen
  • Official name and native name in local language
  • Region and subregion classification for geographic context
  • Capital city with proper formatting
  • Population with formatted numbers for easy reading
  • Area in square kilometers for size comparison
  • Official currency with symbol and code

Interactive Map Integration

Every result includes an embedded OpenStreetMap showing the precise location. The interactive map allows you to:

  • See the exact geographic location with a marker
  • Understand the place's position relative to surrounding areas
  • Click the expand button to view a larger, more detailed map
  • Zoom and pan to explore the region
Pro Tip: Use the expanded map view to get a better sense of a location's geography, nearby cities, and regional context before planning your visit.

Quick Action Buttons

Each result card includes convenient quick actions for instant access to more information:

Copy

Instantly copy the place name to your clipboard for easy sharing in messages, documents, or notes.

Maps

Open the location directly in Google Maps to get directions, explore street view, or find nearby attractions.

Wikipedia

Read comprehensive details, history, culture, and facts about the place on Wikipedia.

Keyboard Shortcuts

Speed up your exploration with convenient keyboard shortcuts. No need to reach for your mouse—just press a key to generate new results instantly:

Space

Press the spacebar to generate new random places quickly

R

Press R key to regenerate and discover new locations

Persistent History

Your generated places are automatically saved in browser storage, allowing you to:

  • View your exploration history anytime by clicking the History button
  • Access previously discovered places across browser sessions
  • Keep up to 20 recent items for easy reference
  • Clear history when needed to start fresh
Privacy Note: Your history is stored only in your browser's local storage. No data is sent to any server, ensuring complete privacy. Clearing your browser data will remove the history.

Mobile-Friendly Design

The tool is fully responsive and optimized for all devices. Whether you're using a phone, tablet, or desktop computer, you'll enjoy:

  • Touch-friendly buttons and controls optimized for mobile interaction
  • Responsive layouts that adapt to your screen size
  • Fast loading times and smooth performance
  • Easy-to-read text and properly sized interactive elements
  • Seamless experience across all devices and browsers

Frequently Asked Questions

How many countries are available?

The database includes over 200 countries and territories from around the world, covering all continents and regions. This comprehensive collection ensures diverse and interesting results with every generation.

Why do some countries show limited information?

Some smaller territories or newly recognized regions may have incomplete data in our database. We display all available information for each country and continuously update our database to provide the most comprehensive details possible.

Can I generate cities from any country?

City data is available for most countries worldwide. If a selected country doesn't have city data in our database, the tool will automatically try another country to ensure you always get results. This guarantees a smooth experience without empty results.

Is my data saved anywhere?

Your history is stored only in your browser's local storage. No data is sent to any server, ensuring complete privacy. The history feature works entirely offline after the initial page load. Clearing your browser data will remove the saved history.

Why does the map sometimes show the wrong location?

The map uses coordinates from our geographic database. For most places, the marker will be accurate and precise. For some smaller cities or remote locations, the marker may be approximate, showing the general area rather than the exact center point.

Can I use this for educational purposes?

Absolutely! This tool is perfect for:

  • Geography classes and lessons
  • Educational quizzes and tests
  • Classroom games and activities
  • Student research assignments
  • Homeschooling geography curriculum

Teachers can use it to randomly select countries for students to research, create engaging geography challenges, or make learning about the world more interactive and fun.

Does the tool work offline?

The initial country data is loaded when you first open the tool and cached in your browser. After that, basic functionality works with cached data, allowing you to generate random places without an internet connection. However, the interactive map feature requires an internet connection to load map tiles and display locations.

How do I report incorrect information?

If you notice any errors in country or city data, please contact us through the feedback form. We regularly update our database to ensure accuracy and appreciate user reports that help us maintain high-quality, reliable information.

Space

Ready to Explore

Click Generate to discover random places

Recent Results
No history yet
Press Space or R to quickly generate
Filter by continent to explore specific regions
Click Maps to view location on Google Maps
Use the expand button to see a larger map view
All data processed locally - no tracking
Want to learn more? Read documentation →
1/6
Start typing to search...
Searching...
No results found
Try searching with different keywords