Random City Generator

Generate random cities from around the world. Filter by continent and population size. Perfect for travel, trivia, or creative projects.

Discover new destinations - generate cities!

World Cities

Discover cities from every corner of the globe. From bustling megacities to charming smaller towns - perfect for travel inspiration, trivia, or worldbuilding.

200+ Cities

Why Use This Generator?

6 Continents

Cities from Africa, Asia, Europe, Americas, and Oceania.

Size Filters

Filter from small towns to massive megacities.

Country Info

Each city displays its country and continent.

Random Discovery

Discover cities you might never have heard of!

How this Random City Generator works

This geography randomization tool selects cities from a global database spanning all inhabited continents and diverse population sizes. The generator draws from a curated collection of real-world cities including metropolitan capitals, mid-sized urban centers, and notable smaller cities, providing each result with geographic context such as country and regional information. Users can filter by continent or generate from the complete worldwide dataset.

The selection algorithm ensures geographic diversity, preventing clustering around a single region or country. This makes the tool practical for travel inspiration, geography quizzes, creative writing settings, game world-building, or educational exercises about global urbanization. Each generated city represents a real location, providing an authentic starting point for further research or creative development.

All randomization logic processes entirely within your browser using lightweight client-side JavaScript. No location data, IP addresses, or usage patterns are sent to external servers. The tool delivers instantaneous results without requiring account creation, software downloads, or any form of personal information. Your browsing session remains completely private.

How to use this Random City Generator

1

Choose Continent

Filter by Africa, Asia, Europe, Americas, or Oceania.

2

Select Size

Small, Medium, Large, or Mega cities.

3

Generate

Get random cities with country info!

Example Usage

Asian megacities:

Input
Continent: Asia, Size: Mega
Output
Tokyo, Japan (Mega) Shanghai, China (Mega) Mumbai, India (Mega)

Frequently Asked Questions

How many cities are included?
We have over 200 cities from all continents.
What do the sizes mean?
Small (<500K), Medium (500K-2M), Large (2M-10M), Mega (10M+).
Are populations accurate?
The size categories are based on approximate metro area populations.

Related Tools

The Random City Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

Featured On

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge