Country and City Generator
Choose reproducible synthetic country-city records from a curated global list.
Also known as: random country · random city
seeded · synthetic data
Output
About this tool, tips & examples
What it does
The Country and City Generator draws reproducible country–city pairs from a
curated global list — up to 1,000 records per run, exportable as CSV, JSON,
or plain text. It’s the quick way to fill country and city columns with
values that are real place names but synthetic records.
Common use cases
- Address and profile fixtures — pair with the Fake Address or Fake Profile tools for complete synthetic identities.
- Dropdown and autocomplete testing — realistic location values for form testing and demos.
- Map and dashboard demos — a location dimension for charts, group-bys, and filters.
- Internationalization checks — names from different regions and scripts of the curated list exercise sorting and rendering.
Settings
- How many — 1 to 1,000 country–city pairs per run.
- Seed — the same seed and count always regenerate the identical list, keeping fixtures stable across test runs.
Privacy note
Pairs are generated locally in your browser and never uploaded. The places are real; the records are synthetic — they aren’t tied to any person, account, or event, and shouldn’t be presented as real user data.
FAQ
Are the city–country pairs geographically correct? Yes — pairs come from a curated list, so you won’t get “Paris, Japan”. The list is representative rather than exhaustive; it’s built for fixtures, not gazetteer lookups.
Can the same city appear twice in a batch? Yes, draws are independent — like real datasets, where popular cities repeat. Dedupe afterwards if you need unique values.
Can I get coordinates too? Use the Coordinate Generator for lat/lon points, or the GeoJSON Point tool when you need map-ready features.