Random City Generator – Discover World Cities Instantly
The Random City Generator pulls real-world cities from a curated dataset spanning every inhabited continent, giving you instant inspiration for creative writing, geography quizzes, travel planning, or placeholder location data for testing forms and databases. Each generated city comes with its country, continent, and an approximate population figure, so you get useful context alongside every result — not just a bare name.
Single City or Batch Generation
Set Number of Cities to 1 for a quick "surprise me" pick, or raise it up to 50 to build a shortlist of destinations, a bank of quiz questions, or a batch of sample location records. By default each batch contains unique cities; turn on Allow Duplicates if you want independent random draws where the same city can appear more than once.
Filter by Continent, Country, or Population
Narrow the random pool with the Continent Filter to stay within a single region — useful for regional trivia or focused travel brainstorming — or the Country Filter to draw only from cities within one nation, ideal for domestic trip planning or country-specific study material. The Minimum Population field biases results toward well-known major cities and megacities by excluding anything below your chosen threshold, e.g. setting it to 5,000,000 keeps only global cities like Tokyo, Mumbai, or São Paulo in the eligible pool.
Capitals Only and Exclusion Lists
Flip on Capitals Only to restrict output to national capital cities specifically, handy for capital-focused geography lessons. If you have already used certain cities and want fresh results, list them in the Exclude Cities field as a comma-separated list, e.g. Paris, London — matching is case-insensitive and ignores extra whitespace.
Sorting and Reproducible Results
Choose how the generated list is sorted with the Sort Output control: keep the order cities were drawn in, sort alphabetically for easy scanning, or sort by population to see the largest cities first. If you need the exact same batch again later — for a repeatable classroom exercise or a shareable test fixture — enter a numeric value in the Reproducible Seed field before generating. The same seed, filters, and batch size will always return the same cities.
Copy, Export, and Reuse Results
Copy the full generated list to your clipboard in one click, or download it as a Plain Text, CSV, or JSON file. Each export includes the city name, country, continent, population, and capital status, ready to drop into a spreadsheet, quiz bank, or seed script for application testing.